摘要:
static void Main(string[] args) { Console.WriteLine("*********"); BasicStringFunctionality(); Console.ReadLine(); } private static void BasicStringFunctionality() { string fisstName = "Freddy"; //转换成大写 ... 阅读全文
posted @ 2013-04-27 11:46
zengxw
阅读(97)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); UseDatesAndTimes(); Console.ReadLine(); } private static void UseDatesAndTimes() { DateTime dt = new DateTime(2010, 10, 17); //一个月中的哪一天 ... 阅读全文
posted @ 2013-04-27 11:33
zengxw
阅读(219)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); CharFunctionality(); Console.ReadLine(); } private static void CharFunctionality() { char myChar = 'a'; //是否是数字 Console.WriteLine("c... 阅读全文
posted @ 2013-04-27 11:17
zengxw
阅读(188)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2013-04-27 10:58
zengxw
阅读(102)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2013-04-27 10:12
zengxw
阅读(180)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); NewingDataTypes(); Console.ReadLine(); } private static void NewingDataTypes() { bool b = new bool(); int i = new int(); double d = ... 阅读全文
posted @ 2013-04-27 10:08
zengxw
阅读(124)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); FromatNumbericalData(); DisplayMessage(); Console.ReadLine(); } private static void DisplayMessage() { string userMessage = string.Format("1000... 阅读全文
posted @ 2013-04-27 09:52
zengxw
阅读(110)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { Console.WriteLine("aadjflajdsfasd"); GetUserData(); Console.ReadLine(); } private static void GetUserData() { Console.WriteLine("peadjfldyou name"); string userNam... 阅读全文
posted @ 2013-04-27 09:44
zengxw
阅读(131)
评论(0)
推荐(0)