Main menu

Category: C Sharp (C#)

‘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…

If we want to create an executable from your ‘C#’ project or file, our code should contain a ‘static Main’ method. This is the entry point to ‘C#’ program. If our code missed this, ‘C#’ will throw the below error: error…

.Net supports to use COM functionality within its managed code through its COM Interoperability feature. In this article we are going to discuss about the steps to use COM components within ‘C#’ code. Step 1. First step is add COM…

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…

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…

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…

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…

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…

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…

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…

Featured Posts

As of now, we have created our window and successfully displayed on the screen. We have seen this in our previous article. And also we observed that the window is immediately closed; because of no user interaction code was added.…