SHARE
TWEET

Untitled

a guest Jul 17th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  class Program
  2.     {
  3.         static void Main(string[] args)
  4.         {
  5.             int i, j;
  6.             // Generate objects using the factory.
  7.             for (i = 0, j = 10; i < 10; i++, j--)
  8.             {
  9.                 MyClass ob = MyClass.Factory(i, j); // get an object
  10.                 @h@ ob.Show();
  11.             }
  12.             Console.WriteLine();
  13.         }
  14.     }
RAW Paste Data
Top