As I read about naming convection in asp.net Here
Use Camel Case for variables and method parameters
So i should use camel case naming for variables and method parameters but I don't know why visual studio warn me about these names:
public class Ad
{
public DateTime? startTimeLimitation { get; set; }
public DateTime? endTimeLimitaion { get; set; }
public Payment payment { get; set; }
}
As fix name violation
So should I Ignore this warnings or I missed something about naming convection?
use camel case for local variables and pascal case for class level variables like
public class MyClass
{
public DateTime? StartTimeLimitation { get; set; }
void MyMethod()
{
int localVariable = 0;
//some other code
}
}