Author: Raju

C#: Classes (Part – 3)

‘C#’ class members are accessible based on its access specifiers. I will write a separate article on class’s access specifiers in more detail. But here I want to give an high level introduction on access specifiers. Access Specifiers ‘C#’ provides…

C#: Classes (Part – 2)

In this article we will look into few more things about the classes. Outer Classes, Inner Classes and Wrapper Classes ‘C#’ classes allows to define classes (inner classes) within the classes. Inner classes are only accessible through its outer classes…

C#: Classes (Part – 1)

‘C#’ classes are code blocks that combine data and operations those work on the data. ‘C#’ classes enables Object Oriented Programming (OOP) concepts of encapsulation and abstraction. Encapsulation means combining data and the operations apply on the data together. Abstraction means…

ASP.Net: Simple webpage

ASP.Net is a web framework for building web sites. ASP.Net has been designed to be fully integrated with the .Net framework. ASP.Net works with Internet Information Services (IIS) to deliver the content. ASP.Net pages are with .aspx extension. ASP.Net files can…

.Net: Assemblies (Part – 6)

As of now, we have created a hello shared assembly and installed it into GAC. We also created a new version of hello assembly and installed it into GAC. Now both these versions are inside GAC. We have created a…

.Net: Assemblies (Part – 5)

In our previous article, we have created a new version 1.0.0.0 to our hello assembly. The old version of hello assembly is already existed in Global Assembly Cache (GAC). Before we install new hello assembly to GAC, lets open the assembly…

.Net: Assemblies (Part – 4)

As of now we have created hello assembly and testapp application. testapp application will call the function SayHello (it just prints “Hello, World!” on the console) resides in hello assembly. We have created strong name for hello assembly and installed…

.Net: Assemblies (Part – 3)

We have created hello.exe assembly in our previous article and installed it into Global Assembly Cache (GAC). Lets look at where in GAC this assembly installed. As we discussed in our previous article(s), GAC is the location where shared assemblies…

.Net: Assemblies (Part – 2)

We have created one simple private assembly hello.exe in our previous article. In this article, we will look at how to reference assemblies into our programs and how to call methods in assemblies. Lets create a simple program testapp.cs. Below…

.Net: Assemblies (Part – 1)

Assemblies are the self-describing building blocks of .Net based applications. Assemblies contain Assembly manifest, which contains metadata information, contains a collection of data that describes the relationship between the elements in the assembly; Type metadata describing the exported types and methods; MSIL (Microsoft Intermediate…

C#: Delegates

Delegates are the references to the methods to call the methods indirectly. Delegates holds the address of the method(s); so, it will be easy to call methods through Delegates. But why we use Delegates and why can’t we always call…