You can use Humanizer. There are many other options. And it’s part of the .NET Foundation.
Titleize converts the input words to Title casing; equivalent to
"some title".Humanize(LetterCasing.Title)
0
solved How to convert string for CamelCase to TitleCase [closed]