.Net

.Net is not a language it’s a framework. .NET is a programming framework created by Microsoft that developers can use to create applications more easily..NET is a free, cross-platform, open source developer platform for building many different types of applications.
.Net languages are languages which are support by .Net Framework , Example c#,VB and c++. Basically, we will talk here about c# only.

Proper way to rename solution and project in visual studio

In Solution Explorer, right-click the project, select Rename, and enter a new name. In Solution Explorer, right-click the project and select Properties. On the Application tab, change the “Assembly name” and “Default namespace”. In the main cs file (or any other code files), rename the namespace declaration to use the new name. For this right-click

C# Coding Standards for .NET

. C# Coding Standards for .NET     Camel Case A word with the first letter lowercase, and the first letter of each subsequent word-part capitalized. Example: customerName   Magic Number Any numeric literal used within an expression (or to initialize a variable) that does not have an obvious or wellknown meaning. This usually excludes

Garbage Collection:Memory Management

Garbage collection (GC) is a form of automatic memory management. The garbage collector attempts to reclaim garbage, or memory occupied by objects that are no longer in use by the program. Garbage collection is often described as the opposite of manual memory management, which requires the programmer to specify which objects to deallocate and return to the memory system. Like other memory

Async And Await in C#

Synchronous: It means the execution of multiple task one after another when one task finishes another task executes and so on. Before completing one task it is not able to execute next task, that’s why synchronous is slow. e.g. If we have task a, b, c, d, e to execute it executes like a, b, c, d, e. Asynchronous:

Exception Handling

Exceptions are a type of error that occurs during the execution of a program which is typically problems that are not expected. C# exception handling is built upon four keywords: try, catch, finally, and throw. 1.try − A try block identifies a block of code for which particular exceptions is activated.There can be one or

Lazy Loading and Eager Loading

Eager Loading For loading the related entities of an entity. Eager Loading helps to load all your needed entities at once. i.e.related objects(child objects) are loaded automatically with its parent object. We use ‘include‘ for eager loading.

Virtual Method

The Virtual Method is the method which is declared with the keyword virtual and it can be overridden by the derived class method by using override keyword. It depends on derived class whether to override it or not. If you don’t override, you get the original behaviour, if you do you always get new behaviour.

Method Overriding

Method overriding allows a subclass to provide a specific implementation of a method that is already provided by one of its superclasses. The implementation in the subclass overrides the implementation in the superclass by providing a method that has the same name, parameters or signatures and same return type as the method in the parent

Early and late binding

Early Binding Early(Static) binding refers to events that occur at compile time. Early binding occurs when all information needed to call a function is known at compile time. Early binding include normal function calls including standard library functions, overload function calls and overload operators.The main advantage to early binding is efficiency. Because all information necessary