摘要:
static void Main(string[] args) { Console.WriteLine("*********"); BasicStringFunctionality(); Console.ReadLine(); } private static void BasicStringFunctionality() { string fisstName = "Freddy"; //转换成大写 ... 阅读全文
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); UseDatesAndTimes(); Console.ReadLine(); } private static void UseDatesAndTimes() { DateTime dt = new DateTime(2010, 10, 17); //一个月中的哪一天 ... 阅读全文
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); CharFunctionality(); Console.ReadLine(); } private static void CharFunctionality() { char myChar = 'a'; //是否是数字 Console.WriteLine("c... 阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); NewingDataTypes(); Console.ReadLine(); } private static void NewingDataTypes() { bool b = new bool(); int i = new int(); double d = ... 阅读全文
摘要:
static void Main(string[] args) { Console.WriteLine("*********"); FromatNumbericalData(); DisplayMessage(); Console.ReadLine(); } private static void DisplayMessage() { string userMessage = string.Format("1000... 阅读全文
摘要:
static void Main(string[] args) { Console.WriteLine("aadjflajdsfasd"); GetUserData(); Console.ReadLine(); } private static void GetUserData() { Console.WriteLine("peadjfldyou name"); string userNam... 阅读全文