Explain few capitalization techniques ?

 Posted by Bharathi Cherukuri on 4/26/2012 | Category: .NET Framework Interview questions | Views: 1523 | Points: 40
Answer:

Some of the capitalization techniques are explained as below.

Pascal Casing: This convention capitalizes the first character of each word.
Example: MyWord.

Camel Casing: This convention capitalizes the first character of each word except the first word.
Example: myWord.

Upper Casing: This convention is used to capitalize identifiers, which contains an abbrevation of one or two characters.Identifiers which are of three or more characters use pascal casing instead.
Example: PI


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Akiii on: 4/26/2012 | Points: 10
This is a good question. A programmer should follow the casing in order to write cleaner and maintainable code.



Thanks and Regards
Akiii
Posted by: Bharathi Cherukuri on: 4/26/2012 | Points: 10
Thanks Akiii

Regards,
Bharathi

Login to post response