Is there any difference between UCase and toUpper?

 Posted by Bhakti on 12/24/2009 | Category: ASP.NET Interview questions | Views: 4735

With concern of the functionality both of these works same. The most evaluated parameter has been performance - even with that it is minor of 5-7%. So unless, you have millions iterations to be performed with strings, you don't have to get worried about the performance of them.
String functions are faster.
The same is true with toLower and LCase.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response