zoukankan      html  css  js  c++  java
  • C#学习笔记(1)

    今天刚刚安装完VS2013,费了好长时间,现在暂时先用一下win7吧,将来编写跨平台的程序的时候还是要换成Win8.1啊。。。
    稍微写了一个hello world
    感觉和之前写的Java整体的区别不大,可以像C++那样输出到操作台,也可以做出UI界面,感觉挺方便的
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    namespace ConsoleApplication1
    {
        class Program
        {
            static void Main(string[] args)
            {
                Console.WriteLine("Hello world");
            }
        }
    }
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    namespace ConsoleApplication1
    {
        class Program
        {
            static void Main(string[] args)
            {
                System.Windows.Forms.MessageBox.Show("hello world!");
            }
        }
    }
    

      

  • 相关阅读:
    数据结构
    ADC
    SPI
    定时器原理
    IO中断
    恩智浦样片申请
    UART
    随机生成数字验证码
    判断网络是否连接Internet
    清理SQL数据库日志
  • 原文地址:https://www.cnblogs.com/ljc825/p/4343131.html
Copyright © 2011-2022 走看看