Indium – Dot Net Interview Questions
Here is the list of Dot Net Interview Questions which are recently asked in Indium company. These questions are included for both Freshers and Experienced professionals.
1. What is .NET?
. Net is a programming language developed by Microsoft. It was designed to build applications which could run on the Windows platform. The . Net programming language can be used to develop Forms based applications, Web based applications, and Web services.
2. How many languages are supported by .NET at present time?
NET Framework supports more than 60 programming languages in which 11 programming languages are designed and developed by Microsoft.
3. How is it possible for .NET to support many languages?
The main reason for . NET to be multilingual is that you can compile your code from IL and this compiled code will be interoperable with the code that has been compiled to IL from another language. It simply means that you can create pages in different languages.
4. Is ASP.NET different from ASP? If yes, explain how?
ASP is interpreted whereas, ASP.NET is compiled. This implies that since ASP uses VBScript; therefore, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses . NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language.
5. What is the state management in ASP.NET?
Session state is an ASP.NET Core scenario for storage of user data while the user browses a web app. Session state uses a store maintained by the app to persist data across requests from a client.
6. What is the difference between trace and debug?
Write is only effective on builds where the DEBUG flag is defined, while Trace. Write is only effective when the TRACE flag is defined.
7. What are differences between system.stringbuilder and system.string?
The main difference is system. string is immutable and system. stringbuilder is a mutable. Append keyword is used in string builder but not in system.
8. What is the difference between int and int32?
int is an alias of Int32, so, int and Int32 are the same type. Int32 represents 32-bits signed integer. Int32 occupies 32-bits space in the memory. As per the 4-bytes data capacity, an Int32's value capacity is -2147483648 to +2147483647.
9. What is the difference between namespace and assembly?
Net Namespace provides the fundamental unit of logical code grouping while an assembly provides a fundamental unit of physical code grouping.Namespace. Namespaces is a logical group of related classes that can be used by any other language targeting the Microsoft.
10. Explain the differences between value type and reference type.
value types are stored generally in the stack, reference types are stored in the managed heap. In other words, variables or objects or value types have their own copy of the data. A reference type, meanwhile, extends System. Object and points to a location in the memory that contains the actual data.
11. What is the difference between session object and application object?
Application object is used to store data which available across the entire application and shared across multiple users sessions. Session object is used to maintain the session of each user.
12. What is the difference between Hash table and Array list?
ArrayList is an ordered Collection of objects, the objects will be in the same order that you use to add them to the ArrayList. HashTable is a Collection of the Key Value Pair. Each object in the HashTable is defined by a Key and Value. Generally the ArrayList is quicker than the HashTable to insert elements in some cases.
13. Explain the boxing and unboxing concept in .Net?
Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the common language runtime boxes a value type, it wraps the value inside a System. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit.
14. What is manifest in .NET Framework?
In the . NET Framework, an assembly manifest is a text file containing metadata about the code within a CLI assembly. It describes the relationship and dependencies of the components in the assembly, versioning information, scope information and the security permissions required by the assembly.
15. What are the memory-mapped files?
A memory-mapped file contains the contents of a file in virtual memory. This mapping between a file and memory space enables an application, including the multiple processes, to modify the file by reading and writing directly to the memory.
TOP 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.