enum color { red, green, blue } color c = color.red; Type t; t = c.GetType(); string[ ]str; str = Enum.GetNames(t); Console.WriteLine(str[ 0 ]);
int i = 0, j = 0; label: i++; j+=i; if (i < 10) { Console.Write(i +" "); goto label; }
class Sample { public int func(int i, Single j) { /* Add code here. */ } }
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.