Mercurial > hg > Database > Christie-sharp
view Test/RewritingTest/EnumToInt.cs @ 23:46cfeb0609c5
Add TcpConnections
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Dec 2020 22:11:40 +0900 |
parents | |
children |
line wrap: on
line source
using System; namespace Christie_net { public enum EnumToInt { Apple, Orange, Grape } public class EnumToIntCheck { public static void Main() { EnumToInt elem = (EnumToInt) Enum.ToObject(typeof(EnumToInt), 1); } } }