1.
Write a program in C# to get the sum of all the numbers entered from command line
argument.
2. WAP which prints n prime numbers on the screen where n is provided by user.
3. Create following interfaces and classes.
IShape
Circle
Rectangle
Declare two methods named draw() and Area() in interface and define them in classes.
From the main program call these methods using dynamic polymorphism.
4. Create a class with name employee with empcode, name and age property. Create arraylist,
array, stack, queue based on this class . Perform necessary operations and examine the
difference in functioning.
5. Create a class employee with empcode, name , salary, phno. properties. Employee can
have multiple phoneno. Use indexes to represent phoneNo.
1. Write a C# program to show the metadata of a referenced assembly using reflection.
2. Create employee class with 3 properties and 2 methods. Properties must be implemented
using syntax provided by framework 3.0. Push 1 more method to this class using extension
methods.
3. Prepare a list of 5 enhancements in VS2010 IDE and 5 enhancements in
Language/Framework.
4. Create a menu driven program for providing Add, Remove, List and Search operation. You
need to create employee class and perform the operation in generic collection of this class.
5. Create a program which will illustrate difference between static class and a class containing
static methods. Examine the differences carefully.