Dot Net Interview Questions – Set 21

Explain what LINQ is. LINQ is an acronym for Language Integrated Query, and was introduced with Visual Studio 2008. LINQ is a set of features that extends query capabilities to the .NET language syntax by adding sets of new standard query operators that allow data manipulation, regardless of the data source. Supported data sources are: … Read more

Dot Net Interview Questions – Set 20

What is the state management in ASP.NET? State management is a technique that is used to manage a state of an object on different request. It is very important to manage state in any web application. There are two types of state management systems in ASP.NET. Client side state management Server side state management What … Read more

Dot Net Interview Questions – Set 19

Explain role-based security. Role-based security is used to implement security measures based on the role assigned to the users in the organization. Then we can authorize users based on their roles in the organization. For example, windows have role-based access like user, administrators, and guests. What are EXE and DLL? EXE is an executable file … Read more

Dot Net Interview Questions – Set 18

Explain the difference between boxing and unboxing. Provide an example. Boxing is the process of converting a value type to the type object, and unboxing is extracting the value type from the object. While the boxing is implicit, unboxing is explicit. Example (written in C#): int i = 13; object myObject = i; // boxing … Read more

Dot Net Interview Questions – Set 17

How is it possible for .NET to support many languages? The .NET language code is compiled to Microsoft Intermediate Language (MSIL). The generated code is called managed code. This managed code is run in .NET environment. So after compilation the language is not a barrier and the code can call or use function of another … Read more