Advertisement

C#中比较控制台程序与Windows窗体应用程序的编程差异

阅读量:

控制台程序代码段:

复制代码
 using System;

    
 using System.Collections.Generic;
    
 using System.Linq;
    
 using System.Text;
    
 using System.Threading.Tasks;
    
  
    
 namespace ConsoleApplication
    
 {
    
     class Program
    
     {
    
     static void Main(string[] args)
    
     {
    
     }
    
     }
    
 }
    
    
    
    

Windows窗体应用程序代码段:

复制代码
 using System;

    
 using System.Collections.Generic;
    
 using System.Linq;
    
 using System.Threading.Tasks;
    
 using System.Windows.Forms;
    
  
    
 namespace WindowsFormsApplication2
    
 {

全部评论 (0)

还没有任何评论哟~