As we check our coding page in .net application we found that at the top after the namespaces there is a call that is partially defined in every web page. The question arrives in our mind that what is this Partial and why we use the class with partial access specifier. Why we not use
Reference type are important features of the C# language. They enable us to write complex and powerful application and effectively use the run-time framework. If we define the reference type variables in C# then the Reference type variables contain a reference to the data not the value. The value is stored in a separate memory
The two terms Boxing and Unboxing in C# are used when we need to convert one data type to other type. First we will discuss the Boxing. Boxing is the process of converting a Value type to the other Object type. When we use the Boxing of a value type to an objtct type the
Definition: As we know that every piece of code in .Net exists inside a .Net Type. Generally we put the code inside the class. The namespace is a collection of these classes or types. Every type exists inside a namespace. Namespaces can organize all the different types in the class library. Without namespace, these types
The DLL also called Dynamic Link Library is a file that can be used dynamically by other programs. We create the DLL mainly to hide our confidential code so that we can use the code everywhere but can not see the code. When we talk about the layers or 3 and above tier application we
As we know that we use If-Else statement when we have to perform any conditional bases operation. When the condition become true we execute the If block statements and when the condition is false we execute Else block. But sometimes there are a group of conditions where we have to perform one from the group.