Run Console Application without using void
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplicationSample
{
class Prorame1
{
public static int Main()
{
int i = 10;
if(i==10)
Console.WriteLine("Hello!
World");
Console.ReadLine();
return 0;
//Console.ReadKey();
}
}
}
0 comments
Post a Comment