C# Basics & Tutorials

Constructors are used for initializing the members of a class whenever an object is created with the default values for initialization. If a class is not defined with the constructor then the CLR (Common Language Runtime) will provide an implicit constructor which is called as Default Constructor. A class can have any number of constructors [...]

Introduction:    Windows Registry is a central database for application configuration settings and other information required by the applications.   Actually there is nothing else you can do with Windows Registry besides reading its data and write data to it  In this small article, I’ll give you a idea how to read, write and delete [...]

   This article is aimed to explain reflection in .NET Framework.   Reflection is one of the features of .Net framework and has greater importance during the development of large applications. In brief it is a powerful way of collecting and manipulate information present in application’s assemblies and its metadata. Metadata contain all the Type [...]

Introduction      In order to follow this tutorial step-by-step you will need to have .NET Framework and Visual Studio .NET installed on your computer. If you only want to run the sample application provided with this tutorial, then you will need only .NET Framework. Getting to work    Today, we will create a sample application witch [...]

Introduction   For you to follow this tutorial, you will need to have installed on your computer Visual Studio .NET and .NET Framework. If you only want to run the application, then the only thing you will need if .NET Framework Getting to Work    Open Visual Studio .NET (if you haven’t done this yet) [...]

Introduction: Microsoft.NET framework provides many rich class libraries which makes the life of developer easy. Sending emails could not be more simpler than which, is provided in Asp.net. In this article we will see how we can make use of the MailMessage class to send emails with attachments. Developing the User Interface for our application: [...]

C# Method Overloading Last Update: 9 February, 2005 In complex applications written in C#, we may need many methods which do essentially similar functions but are just different enough to be considered unique. For example, we may have to calculate a person’s tax liability and would need to implement a method for doing this calculation [...]

This tutorial describes some basics about some of the great features of C# language namely Delegates and Events. These new constructs are used in object-oriented programming languages like C# and Java. Delegates in C# .Net: If we look at C++ there is a feature called callback function. This feature uses Pointers to Functions to pass [...]

   When we speak about .Net, we mean by .NET framework. .NET Framework is made up of the Common Language Runtime (CLR), the Base Class Library (System Classes). This allows us to build our own services (Web Services or Windows Services) and Web Applications (Web forms Or Asp .Net), and Windows applications (Windows forms). We [...]

Any class in an object-oriented language has method and property members. These are the places where the actual business logic or functionality is written and executed. This tutorial explains how to create and use methods and properties in C#. C# Methods: Method is object-oriented item of any language. All C# programs are constructed from a [...]

1 2 3