第一次来博客园发文先写一个Hello world

使用Sharpdevelop+wpf来写一个Hello world

using  System;
using  System.Windows;



namespace  wpftest
{
    
///   <summary>
    
///  Description of Class1.
    
///   </summary>
     public   class  Class1
    {
        
public  Class1()
        {
        }
        [STAThread]
        
public   static   void  Main()
        {
            Window win
= new  Window();
            win.Title
= " hello wpf " ;
             
            win.Show();
            
            Application app
= new  Application();
            app.Run(win);
        }
    }
}

你可能感兴趣的:(Hello world)