Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace TestOOP
- {
- class Bird
- {
- private string name;
- private string color;
- private int old;
- ........................
- .......................
- int function1()
- {
- ..............
- return ....;
- }
- }
- class Program
- {
- static void Main(string[] args)
- {
- Bird bird1 = new Bird()
- Bird bird2 = new Bird()
- ......................
- ......................
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement