Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- int i, j;
- // Generate objects using the factory.
- for (i = 0, j = 10; i < 10; i++, j--)
- {
- MyClass ob = MyClass.Factory(i, j); // get an object
- @h@ ob.Show();
- }
- Console.WriteLine();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement