COMPUTER SCIENCE & INFORMATION TECHNOLOGY
Sunday, 3 May 2015
//This program illustrates the working of goto
//This program illustrates the working of goto
using System;
namespace ProfTyagi
{
class demogoto
{
static void Main(string[] args)
{
int a = 0;
start:
Console.WriteLine(a);
a++;
if (a < 5)
goto start;
}
}
}
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)