Thursday, August 28, 2014

HTML Versions

HTML Versions with Release Year


Version Year
HTML 1991
HTML+ 1993
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 2000
HTML5 2012

Sunday, August 17, 2014

What's the Difference Between String and string in C#?

Answer:-

No Difference so you can use either of them in your code.

Explanation:-

In C#, keyword string which is defined in Base Class Library directly maps to Class System.String defined in Framework Class Library.

Quick Overview:-


String:
1) String is a Class (System.String)
2) String is Reference Type

string:
1) string is an alias of System.String Class
2) string is Value Type
3) string is a C# keyword


As per my view, even though string and String mean the same and have no difference in performance of the application still it is better to use string, which is a C# language specific keyword.

Popular Posts