πŸ’‘ Jump to Important Questions ↓

Important Questions

Important Questions

Language Preliminaries

Asked in 2081.1Short Question5 Marks
1.
Explain about MSIL and CLR. [5]
Asked in 2081.1Long Question10 Marks
2.
Differentiate between error and exception. Write a program to take the input for any five subjects and throw the exception if the given marks is negative or exceed 100. [10]
Asked in 2081Long Question10 Marks
3.
Define indexers. What is the use of base keyword? How can you apply polymorphism in code extensibility? [10]
Asked in 2080Short Question5 Marks
4.
Why do we need abstarct class? Explain with an example. [5]
Asked in 2080Short Question5 Marks
5.
Differentiate between collection and generics. [5]
ModelShort Question5 Marks
6.
What is lambda expression? Describe the needs of asynchronous programming. [5]
ModelLong Question10 Marks
7.
Describe the roles of delegates in event handling. Illustrate the use of partial class with an example. [10]