Why is only the first word capitalizing when using the tocap() function?

后端 未结 6 1882
挽巷
挽巷 2021-01-23 15:16

I did the following to upper case the first letter in each word but it\'s only working on the first word. Could someone explain why?

static void Main(string[] ar         


        
6条回答
  •  耶瑟儿~
    2021-01-23 16:05

    Since no professor would accept this solution, I feel fine letting anyone googling this know that you can just use ToTitleCase

提交回复
热议问题