System Windows Forms C# by API

using System;
using System.Collections.Generic;
using System.Windows.Forms;
static class MainClass
{
    [STAThread]
    static void Main()
    {
        Console.WriteLine( Application.StartupPath);
  
    }
}