C# Syntax samples and examples



You can make money from this site by posting original and quality articles that comply with Google AdSense policies.. Also, we offer several other reward programs including monthly profit sharing, cash rewards per post, contests & prizes etc to contributing members.

Submit Your Article

Articles

Introducation to Inheritance in C#

In this article I am going to explain you in detail about the Inheritance in C#. It may be very helpful for new user. Inheritance is most useful scope of object oriented programming systems. With the help of this article user can easily use inheritance in C# ( framework) .Inheritance similar like polymorphism and other feature of OOPS.

How to get Installed Programs List.

This resource introduce how to retrive installed programes in Computer. Through this code user can retrive all software list which is installed and software's Name, Version and Publisher; Through Windows Registry. And Display details in Data Grid View in Window Application.

Multiple Main Methods in C#

From this you will know what is Multiple Main Methods in C#. C# enables to define more than one class with the Main method, and 'Main' is the entry points.

How to validate a string in textbox control for password in C#

Here I have given an example for a password validation code snippet by using very simple and basic common algorithm through textbox control in C#. In this rules of password validation, you are allowed to type any alphabet, numeric and special characters as password value.

Serialization and Deserialization in C#.Net

In this article I will explain basic concept of serialization and desalinization with an example. Here I will explain how to convert a csharp object to xml and vice-verse. But why do I need to Serialize them? The below example answers the above question.

Submit Your Article