sealed class PI
{
public static float number;
static PI()
{ number = 3.141592653F; }
static public float val()
{ return number; }
}
What's the difference between public static and static public? Can they be used in any order?
How would I use static public float val()
?
Does it get executed as soon as the class is initialized?
Well, it is just like the name of a Person =) Calling Tom Mike or Mike Tom, no difference.