예제 #1
0
        public static bool ToArray <T>(CatchException.HashSet <T> Array)
#endif
        {
            List <T> List = new List <T>(Array);

            T[] destinationArray = new T[List.Count];
            List.CopyTo(destinationArray);
            return(destinationArray);
        }
예제 #2
0
        public static List <T> Where <T>(CatchException.HashSet <T> Array, string IfMethod)
#endif
        {
            List <T> ret = new List <T>();

            foreach (T item in Array)
            {
                if (item.GetType() == IfType)
                {
                    ret.Add(item);
                }
            }
            return(ret);
        }
예제 #3
0
 public static T[] ToArray <T>(this CatchException.HashSet <T> Array)