using System;
using System.Linq;
public class Test
{
internal enum ttt
{
QAZ,
XSW,
EDC,
VFR,
}
public static void Main()
{
var first = Enum.GetValues(typeof(ttt)).Cast<ttt>().First();
var last = Enum.GetValues(typeof(ttt)).Cast<ttt>().Last();
Console.WriteLine(first);
Console.WriteLine(last);
}
}
QAZ VFR
댓글 없음:
댓글 쓰기