.Net FAQ’s

.Net FAQ’s

.Net Online Training in Ameerpet Hyderabad

We are providing .Net Online Training in Ameerpet Hyderabad. We are one of best Institute to provide Best High Quality .Net online training all over India. The IT Professionals and Students from India and abroad who are unable to attend regular classes can attend our .Net online training from their home in their convenient timings. For more details on .Net Online Training and .Net FAQ’s please call to 9290971883, / 9247461324, or drop a mail to revanthonlinetraining@gmail.com

When invented .NET supports many languages like VB.NET,C#,COBOL, and Perl etc. At present time it supports almost 44 languages.

The .NET language code is compiled to Microsoft Intermediate Language (MSIL). The generated code is called managed code adn this 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 language also.

Debug class is used to debug builds while Trace is used for both debug and release builds.

The main differences between system.stringbuilder and system.string are:

system.stringbuilder is a mutable while system.string is immutable.

Append keyword is used in system.stringbuilder but not in system.string.

MSIL stands Microsoft Intermediate Language. It is used to provide the instructions required for operations such as memory handling, exception handling, and more. It can also provide instructions to initialize and store values and methods easily.

The next .NET interview question we will check involves an important concept.

An assembly is the simple collection of all of the logical units present. Logical units are entities required to build an application and later deploy the same using the .NET framework. It can be considered as a collection of executables and DLL files.

There are a lot of components that make up the .NET framework, and some of them are as follows:

  • .NET Class Library
  • .NET Framework
  • Language Runtime
  • Application Domain
  • Profiling

JIT is the abbreviation of Just in Time. It is a compiler that is used to convert intermediate code into native code easily.

In .NET, during execution, the code is converted into the native language, also called the byte code. This is processed by the CPU, and the framework helps with the conversion.

 

There is no difference between int and int32. System. Int is an alias name for System.Int32 which is a .Net Class.

In C#, we can use the sealed keyword to prevent a class from being inherited.

An assembly is a physical grouping of logical units while namespace groups classes. A namespace can span multiple assemblies.

The main differences between the value type and reference type:

Value type contain variable while reference type doesn't contain value directly in its memory.

In reference type, memory is allocated in managed heap and in value type memory allocated in stack.

Reference type ex-class value type-struct, enumeration

ASP.NET introduces a concept of application domain or AppDomain which is like a lightweight process, acts like both container and boundary. The .NET run-time uses the AppDomain as a container for data and code. The CLR allows multiple .NET applications to run in a single AppDomain.

A delegate in .NET is similar to a function pointer in other programming languages like C or C++. A delegate allows the user to encapsulate the reference of a method in a delegate object. It can then be passed in a program, which will call the referenced method. We can even use a delegate method to create a custom event in a class.

There are two types of assemblies:

  • Private Assembly: It is accessible only to the application, it is installed in the installation directory of the application.
  • Shared Assembly: It can be shared by multiple applications, it is installed in the GAC.

CAS stands for Code Access Security, CAS is a part of a security model that prevents unauthorized access to the resources. It also enables the users to set permissions for the code. CLR then executes the code depending upon the permissions.

There are two types of memories in .Net

  1. Stack memory
  2. Heap Memory

Immutable means once you create a thing, you cannot modify it. For example - If you want give new value to old value then it will discard the old value and create new instance in memory to hold the new value.

Boxing: Boxing is a process of converting value type into reference type.

Unboxing: Unboxing is a process of converting reference type to value type.

.net faq's

Institute Address :

B1, 3rd Floor, Eureka Court, Near Image Hospital, Ameerpet, Hyderabad, India

Other Courses :

Linux Administration Online Training

Cassandra Online Training

Selenium Online Training

Angular5 Online Training

Microsoft Azure Online Training