跟小D每日学口语
摘要: publicstaticclassEnumHelper{publicstaticint[]ToIntArray<T>(T[] value){int[] result =newint[value.Length];for(int i =0; i < value.Length; i++) result[i]=Convert.ToInt32(value[i]);return result;}publicstatic T[]FromIntArray<T>(int[] value){ T[] result =new T[value.Length];for(int i =... 阅读全文
posted @ 2013-05-24 10:40 Danny Chen 阅读(159) 评论(0) 推荐(0) 编辑
摘要: publicstaticclassEnumHelper{publicstaticint[]ToIntArray<T>(T[] value){int[] result =newint[value.Length];for(int i =0; i < value.Length; i++) result[i]=Convert.ToInt32(value[i]);return result;}publicstatic T[]FromIntArray<T>(int[] value){ T[] result =new T[value.Length];for(int i =... 阅读全文
posted @ 2013-05-24 10:40 Danny Chen 阅读(132) 评论(0) 推荐(0) 编辑