• 您的位置我爱Aspx >> VB.Net >> VB.NET and C# 语法比较手册
  • VB.NET and C# 语法比较手册

  • 作者:aspxer  来源:internet  日期:2007-5-20 13:59:18  关键字:c#,.net
  • VB.NET and C# 语法比较手册

    ET and C# Comparison

    This is a quick reference guide to highlight some key syntactical differences between VB.NETand C#. Hope you find this useful!

    Thank you to Tom Shelton, Fergus Cooney, and others for your input.

    Comments

    Data Types

    Constants

    Enumerations

    Operators Choices

    Loops

    Arrays

    Functions

    Exception Handling Namespaces

    Classes / Interfaces

    Constructors / Destructors

    Objects

    Structs Properties

    Delegates / Events

    Console I/O

    File I/O

    VB.NET C#

    Comments

    @# Single line only

    Rem Single line only // Single line

    /* Multiple

    line */

    /// XML comments on single line

    /** XML comments on multiple lines */

    Data Types

    Value Types

    Boolean

    我对这篇文章有话说?
  • 广告位招租,广告代号:content_468_15
  • 上一篇:开始你的第一个多语言版本的dotNET 应用程序(WinForm篇)
    下一篇:在VB.NET中应用Agent技术