Hi Nagababu99,
This is for loop and will be executed from 1 till 10 and written the value of i in console window using the Console class.
Write Method - Writes the text representation of the specified value.
ReadLine Method - Reads the next line of characters from the standard input.
For more details on Write and ReadLine refer below links.
Console.Write Method
Console.ReadLine Method
Code
class Program
{
static void Main(string[] args)
{
for (int i = 1; i <= 10; i++)
{
Console.Write(i + "");
Console.ReadLine();
}
}
}
Screenshot