L&T Infotech – Dot Net Interview Questions
Here is the list of Dot Net Interview Questions which are recently asked in L&T Infotech company. These questions are included for both Freshers and Experienced professionals.
1. What is an application server?
An application server is designed to install, operate and host applications and associated services for end users, IT services and organizations and facilitates the hosting and delivery of the high-end consumer or business applications.
2. Compare C# and VB.NET
C# is a programming language, whereas . NET is the framework on which the language is built.NET and . NET developers will use programming languages such as C#.
3. What is a base class and derived class?
The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class. A derived class can have only the one direct base class. However, inheritance is transitive.
4. What is an extender class?
In C#, the extension method concept allows you to add new methods in the existing class or in the structure without modifying the source code of the original type and you do not require any kind of the special permission from the original type and there is no need to re-compile the original type.
5. What is inheritance?
Inheritance enables you to create new classes that reuse, extend, and modify the behavior defined in other classes. The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class. A derived class can have only one direct base class.
6. What is implementation and interface inheritance?
Implementation inheritance is a relationship where a child class inherits behaviour implementation from a base class. Interface inheritance is when a child class only inherits the description of behaviour from the base class and provides the implementation itself.
7. What is inheritance hierarchy?
Inheritance enables you to create new classes that reuse, extend, and modify the behavior defined in the other classes. The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class.However, inheritance is transitive.
8. How do you prevent a class from being inherited?
You can prevent a class from being subclassed by using the final keyword in the class's declaration. Similarly, you can prevent a method from the being overridden by subclasses by declaring it as a final method. An abstract class can only be subclassed; it cannot be instantiated.
Free PDF : Get our updated Dot Net Course Content pdf
9. Explain Different Types of Constructors in C#?
Different Types of Constructors in C# are:- Default Constructor.
- Parameterized Constructor.
- Copy Constructor.
- Static Constructor.
- Private Constructor.
10. Define Overriding?
Overriding in VB.net is method by which a inherited property or a method is overidden to perform a different functionality in a derived class. The base class function is declared using a keyword Overridable and the derived class function where the functionality is changed contains an keyword Overrides.
11. Can you use multiple inheritance in .NET?
In Multiple inheritance, one class can have more than one superclass and inherit features from all its parent classes. But C# does not support multiple class inheritance.
12. What are events and delegates?
The . NET has implemented the concept of function pointers in the form of delegates. With delegates, you can treat a function as data. Delegates allow functions to be passed as parameters, returned from a function as a value and stored in an array.
13. What is ASP.NET?
An ASP.NET page is made up of a number of server controls along with HTML controls, text, and images. An ASP.NET page is an object of the Page or inherited from it. All the controls on the pages are also objects of the related control class inherited from a parent Control class.
14. What are the types of Authentication in ASP.NET?
There are three types of authentication available in ASP.NET MVC.- Forms Authentication.
- Window Authentication.
- Password Authentication.
15. What is ASP.NET AJAX?
Asynchronous JavaScript and XML is a development technique used to create interactive web applications or rich internet applications. With AJAX, web applications can retrieve data from the server asynchronously, in the background, without reloading the entire browser page.
16. What is ASP.NET Core?
ASP.NET Core is an open-source, cross-platform framework for building modern, cloud-based web apps on Windows, macOS, or Linux. ASP.NET Core provides the following benefits: A unified story for building the web UI and web APIs. Integration of modern, client-side frameworks and development workflows.
Get Answer for all the above questions and place in your dream company
Wants to Become an Expert
in Dot Net?
Know MoreTOP MNC's DOT NET INTERVIEW QUESTIONS & ANSWERS
Here we listed all Dot Net Interview Questions and Answers which are asked in Top MNCs. Periodically we update this page with recently asked Questions, please do visit our page often and be updated in Dot Net.