Console Application in C#
-
Write a program to create ‘Employee’ class with id, name non-static members and employeeCounter as Static data member. Accept id, name values from user (using Console.ReadLine() method) and assign them to Employee data members. Count how many objects created for Employee class, display the content using Console application.
-
Write a program to create ‘Employee’ class with id, name non-static members and employeeCounter as Static data member. Accept id, name values from user (using Console.ReadLine() method) and assign them to Employee data members. Count how many objects created for Employee class, display the content using Console application.
No, you write it. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
Write a program to create ‘Employee’ class with id, name non-static members and employeeCounter as Static data member. Accept id, name values from user (using Console.ReadLine() method) and assign them to Employee data members. Count how many objects created for Employee class, display the content using Console application.