--> A delegate in C# is used to represent a function/(Method). --> A delegate can be used to represent one or more functions(s)/(Method). --> A delegate in C# is same as function pointer in C++. --> If a delegate representing O nly one Method then, it is known as Single Cast Delegate . --> If a delegate representing more than one method(s) then it is known as multi cast Delegate. --> If a delegate is representing a method without any name ( Anonymous Method ), then it is known as Anonymous Delegate. We Use 3 Steps to work with Delegate:- Creating a Delegate Instantiating the Delegate Invoking the Delegate Let us Consider a function like:-> public void Display(string S) { //Code } We use 3 steps of Delegate like:-> 1. Creati...
C# Environment In this chapter, we will discuss the tools required for creating C# programming. We have already mentioned that C# is part of .Net framework and is used for writing .Net applications. Therefore, before discussing the available tools for running a C# program, let us understand how C# relates to the .Net framework. The easiest way to get started with C#, is to use an IDE. An IDE stands (Integrated Development Environment) is used to edit and compile the .Net code developed by Microsoft. We can use of .Net framework to write the following types of application:- Console Application Windows Application Web Application IDE Install We are using Visual Studio Software to develop the application which is support too many language such as C#, VB.Net, C++, Visual Basic, Jscript, COBOL, All these languages can access the framework as well as communicate with each other. SO all the first we have need to install the software from its official Microsoft website...