lundi 1 décembre 2014

C# scope modifiers in a static method


C# question


class only { public static void test() { string t="testing"; /* ok is this just a local variable that has no scope modifier at all ?? because if i place public or private or internal or protected it throws an error.*/

} }





Aucun commentaire:

Enregistrer un commentaire