using System;
public class Program
{
public static void Main()
//Syntax for while loop with function call
while (IsFileThere())
// Syntax for Console.WriteLine()
Console.WriteLine("File is present");
break;
}
// Syntax for if statement with function call
if (!IsFileThere())
Console.WriteLine("File is not present");
// Syntax for function with bool return type
public static bool IsFileThere()
return false;