Without Using Keyword
After So many Classes Of working :
We learnt in the very first class that we need to use Namespace.
But can we make a C# programme without using the " USING " keyword .
Lets Have a Look :
"With Using"
using System;
class print
{
public static void Main()
{
Console.WriteLine("Hello World");
}
}
"Without Using"
class print
{
public static void Main()
{
System.Console.WriteLine("Hello World");
}
}
After So many Classes Of working :
We learnt in the very first class that we need to use Namespace.
But can we make a C# programme without using the " USING " keyword .
Lets Have a Look :
"With Using"
using System;
class print
{
public static void Main()
{
Console.WriteLine("Hello World");
}
}
"Without Using"
class print
{
public static void Main()
{
System.Console.WriteLine("Hello World");
}
}
No comments:
Post a Comment