C# Naming Guideline for local variables -
this question has answer here:
- c# field naming guidelines? 12 answers
a question naming local variables in c# method takes parameter of same name please see code below
private int dosomething(string activationcode) { ... int ??whatnametochoosehere?? = convert.toint32(activationcode); ... }
what strategy apply in above scenario
note: method paramter , local variable differ type only
you cannot that. proper way of doing name variables different names.
Comments
Post a Comment