BestPractice - Transform first character of a string into lower case

前端 未结 11 2052

I\'d like to have a method that transforms the first character of a string into lower case.

My approaches:

1.

public static string ReplaceFir         


        
11条回答
  •  没有蜡笔的小新
    2020-12-04 12:06

    It is better to use String.Concat than String.Format if you know that format is not change data, and just concatenation is desired.

提交回复
热议问题