12-04-17, 12:27 PM
السلام عليكم
وانا بنفذ الكود التالي شاشة CONSOLE APPLICATION بتقفل قبل ما اشوف نتيجة البرنامج
رجاء المساعدة
وانا بنفذ الكود التالي شاشة CONSOLE APPLICATION بتقفل قبل ما اشوف نتيجة البرنامج
رجاء المساعدة
class Program
{
static void Main(string[] args)
{
}
abstract class Engine
{
public void start()
{
Console.WriteLine("engine started");
Console.ReadKey();
}
public void shutdown()
{
Console.WriteLine("engine shutdown");
Console.ReadKey();
}
private int powerhorse;
public int PowerHorse
{
set { powerhorse = value; }
get { return powerhorse; }
}
}
class car : Engine
{
}
{
static void Main(string[] args)
{
}
abstract class Engine
{
public void start()
{
Console.WriteLine("engine started");
Console.ReadKey();
}
public void shutdown()
{
Console.WriteLine("engine shutdown");
Console.ReadKey();
}
private int powerhorse;
public int PowerHorse
{
set { powerhorse = value; }
get { return powerhorse; }
}
}
class car : Engine
{
}


