C# Tutorial - Introduction Part 1- Complete C# Steb By Step Tutorials For beginners and intermediate programmers.
In this video, You Will Learn:-
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.
By:-
kudvenkat
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment