Hi Sudha and welcome to the forum,
Assuming you can correctly detect the beginning of a word (not always the case, but usually easy for English), you can just call a .NET API to capitalize the character or use 0x20 to XOR out the lower cap character if it exists.
Happy .NET coding ....