Wed Jul 01, 2009 9:31 pm
using System; // this is the default namespaces written in code
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWorld // HelloWorld this is the name of the class
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World"); // message that printed in command prompt screen or black screen
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
String str = "";
Console.WriteLine("Please Enter Your Name: ");
str=Console.ReadLine();
Console.WriteLine("Hello : {0}",str);
}
}
}
abstract const extern int out short typeof
as continue false interface override sizeof uint
base
decimal
finally
internal
params
stackalloc
ulong
bool
default
fixed is
private
static
unchecked
break
delegate
float
lock
protected
string
unsafe
byte
do
for
long
public
struct
ushort
case
double
foreach
namespace
readonly
switch
using
catch
else
goto
new
ref
this
virtual
char
enum
if
null
return
throw
void
checked
event
implicit
object
sbyte
true
volatile
class
explicit
in
operator
sealed
try
while
get
partial
set
value
where
yield
Wed Sep 22, 2010 1:11 pm
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.