如何:比較字串 (C# 程式設計手冊)

如何:比較字串 (C# 程式設計手冊)

瀏覽:1319
日期:2024-07-22
比較字串時,產生的結果會說明某一個字串大於或小於另一個字串,或是兩個字串相等。 ... // Internal strings that will never be localized. string root = @"C:\users"; string root2 = @"C:\Users"; // Use the overload of the Equals method that specifies a // Ordinal is ......看更多