现在的位置: 首页 > 综合 > 正文

Basic Syntax Diff VS C# met a lot in using C++/CLI

2012年03月03日 ⁄ 综合 ⁄ 共 306字 ⁄ 字号 评论关闭
It's more C++ style. Some key basic points:
    --using namespace XX
    --NO internal keyword
    --Organize a class/struct like C++. "Public:", "Private:"
    --No below keywords which are only for C#: foreach, using, as, is.
    --using "::" in namespace referencing.
    --using "->" for handle.
    --C# foreach -> for each; C# typeof(Class) -> Class::typeid

抱歉!评论已关闭.