// This example demonstrates the Console.Beep() method.
using System;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
string name = Console.ReadLine();
bool b = true;
while(b)
if (name != "Name")
{
Console.WriteLine("Error");
Console.Beep(500, 1000);
}
}
}
}
No comments:
Post a Comment
Your comment is pending for approval