System Myproject - Examples: Using Namespace Class Static Void
System Myproject - Examples: Using Namespace Class Static Void
using System;
namespace MyProject.Examples
{
class ExampleOne
{
static void Main()
{
Console.Write("Welcome to this Tutorial");
Console.ReadKey();
}
}
}
-----------------------------------------------------------------------------------------------------------------
Example 2
using System;
namespace MyProject.Examples
{
class ExampleOne
{
static void Main(string[] args)
{
string name; //Variable for storing string value
//Displaying Output
Console.WriteLine("Welcome {0} in your first csharp
program", name);
------------------------------------------------------------------------------------------------------------------