1,260,723 views 695 on YTPak
2,327 116

Published on 02 Jun 2012 | over 4 years ago

Text version of the video


All C# Text Articles

All C# Slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

In this video, we will discuss
1. Basic structure of a C# program.
2. What is a Namespace.
3. Purpose of Main method.

Sample program used in the demo
// Namespace Declaration
using System;

class Pragim
public static void Main()
// Write to console
Console.WriteLine ("Welcome to PRAGIM Technologies!");

The namespace declaration, using System, indicates that you are using the System namespace. A namespace is used to organize your code and is collection of classes, interfaces, structs, enums and delegates. Main method is the entry point into your application.

Loading related videos...