You are developing a windows forms application.Yuo have a button control and a textbox in the form. You have a string which contains a mixture of upper and lower case characters. What you want to do is to convert first character of each into upper case. You don't want to split the string and do the conversion. What will you do?

 Posted by Niladri.Biswas on 2/3/2013 | Category: C# Interview questions | Views: 4986 | Points: 40
Select from following answers:
  1. Use TextInfo.ToTitleCase
  2. Use TextInfo.ToInitCase
  3. System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(myText.ToUpper());
  4. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response