nedir böyle ApplicationContext
kullanarak bir program yazmaya arasındaki fark:ApplicationContext'i kullanmanın yararı nedir?
using System;
using System.Windows.Forms;
namespace Test
{
class Test
{
static void Main(string[] args)
{
Application.Run(new Context(args));
}
}
class Context : ApplicationContext
{
public Context(string[] args)
{
//the program
Environment.Exit(1);
}
}
}
ve standart Main
?
namespace Test
{
class Test
{
static void Main(string[] args)
{
//the program
}
}
}