使用者工具

網站工具


visual_c_sharp

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
最後一次修改 Both sides next revision
visual_c_sharp [2024/06/25 14:59]
don
visual_c_sharp [2024/06/25 15:00]
don [string]
行 4: 行 4:
 ==== string ==== ==== string ====
 [code] [code]
- +string a = "hello, world";                // hello, world
-string a = "hello, world";                  // hello, world+
 string b = @"hello, world";               // hello, world string b = @"hello, world";               // hello, world
-string c = "hello \t world";               // hello     world +string c = "hello \t world";              // hello     world 
-string d = @"hello \t world";               // hello \t world +string d = @"hello \t world";             // hello \t world 
-string e = "Joe said \"Hello\" to me";      // Joe said "Hello" to me+string e = "Joe said \"Hello\" to me";    // Joe said "Hello" to me
 string f = @"Joe said ""Hello"" to me";   // Joe said "Hello" to me string f = @"Joe said ""Hello"" to me";   // Joe said "Hello" to me
-string g = "\\\\server\\share\\file.txt";   // \\server\share\file.txt +string g = "\\\\server\\share\\file.txt"; // \\server\share\file.txt 
-string h = @"\\server\share\file.txt";      // \\server\share\file.txt+string h = @"\\server\share\file.txt";    // \\server\share\file.txt
 string i = "one\r\ntwo\r\nthree"; string i = "one\r\ntwo\r\nthree";
 string j = @"one string j = @"one
 two two
 three"; three";
- 
 [/code] [/code]
  
visual_c_sharp.txt · 上一次變更: 2024/06/25 15:03 由 don