September 6, 2018
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
August 5, 2018
. 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
May 6, 2018
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
May 5, 2018
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:
March 23, 2018
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
March 21, 2018
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.
March 18, 2018
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.
March 17, 2018
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
March 17, 2018
Function and method are two concepts in a programming language. Function and Method are respectively defined in the structural and object-oriented language.
March 16, 2018
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