首页 > Windows开发 > 详细

C# basic

时间:2016-01-19 06:54:18      阅读:232      评论:0      收藏:0      [点我收藏+]

1. output

Console.WriteLine("hello world");

 2. naming convention

variable: start with lower-case, use camel-case

double thePrice = 14.95;

for the rest (class name, method name, const): start with upper-case, use camel-case

const int HomeRunRecord = 61;

 3. value type

similar to primitive in jave

for example: int, float, bool

C# basic

原文:http://www.cnblogs.com/phoenix13suns/p/5140994.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!