Since the constants in c# are also static, then why we are able to declare them as local variable in a method?
public void abc()
{
const int a = 10;
}
Since the constants in c# are also static, then why we are able to declare them as local variable in a method?
public void abc()
{
const int a = 10;
}