C# Naming Guideline for local variables -


this question has answer here:

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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -