Example #1
0
 static void Main()
 {
     RandomClass.Go();
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new Form1(ObjectExplore.obj));
 }
Example #2
0
        public static void Go()
        {
            RandomClass person = new RandomClass();

            person.Age        = 10;
            person.Id         = 5;
            person.City       = "Moscow";
            person.CardName   = "Visa";
            person.Name       = "Ivan";
            ObjectExplore.obj = person;
        }