To watch the part two of C# tutorial on HOW TO READ AND WRITE CODE ON CONSOLE click here https://youtu.be/0T-HP6RmU6o
My site: Youtube
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
EmoticonEmoticon