Example #1
0
 public static void barIt()
 {
     foreach (MyObj loopObj in fooIt())
     {
         WrapperObj wx = new WrapperObj(loopObj);
         wx.Process();
     }
 }
Example #2
0
        public static void Main(String[] args)
        {
            T4         demo = new T4();
            WrapperObj zzz  = demo.CallAsync().Result;

            zzz.Process();
            Iterator.barIt();
            AnonymousFunction.barAnon();

            IDictionary <string, MyObj> dict;

            dict = new Dictionary <string, MyObj>();
            dict.Add("aaa", new MyObj());
            MyObj yyy = dict["aaa"];
        }