J
Jung, William
What is the [STAThread] means below?
Is this a comment only?
static class Program
{
private const int ERROR_EVENTLOG_FILE_CORRUPT = 1500;
private const int ERROR_EVENTLOG_CANT_START = 1501;
private const int ERROR_LOG_FILE_FULL = 1502;
/// <summary>
/// The main entry point for the application.
/// </summary>
//[MTAThread]
[STAThread]
static void Main()
{
Is this a comment only?
static class Program
{
private const int ERROR_EVENTLOG_FILE_CORRUPT = 1500;
private const int ERROR_EVENTLOG_CANT_START = 1501;
private const int ERROR_LOG_FILE_FULL = 1502;
/// <summary>
/// The main entry point for the application.
/// </summary>
//[MTAThread]
[STAThread]
static void Main()
{