C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved by Ecma and ISO.
C# was developed by Anders Hejlsberg and his team during the development of the .Net framework.
C# is designed for the Common Language Infrastructure (CLI). The CLI consists of executable code and a runtime environment that allows the use of a variety of high-level languages on different computer platforms and architectures.
C# loop syntax
Sometimes, the same block of code may need to be executed multiple times. Normally, statements are executed sequentially: the first statement in the function is executed first, followed by the second statement, and so on.
Programming languages provide a variety of control structures that allow more complex execution paths.
C# loop example
using System;
namespace Loops{
class Program
{
static void Main(string[] args)
{
for (; ; )
{
Console.WriteLine("Hey! I am Trapped");
}
}
}} 
