Since c# is capital sensitive, what is the difference between string and String. also what is the difference (string) and System.Convert.String(); such as : int i = 9; string a = (string)i; string b = System.Convert.String(i);
System.Convert.String () is a function/property of System.Convert, and functions/properties in C# are written in capital letters. it returns a value of type string. (string) is casting to the datatype string (like (int)). thoean
serior
Member
175 Points
35 Posts
What is the difference between string and String?
Oct 16, 2003 03:03 AM|LINK
htavarez
Member
30 Points
6 Posts
Re: What is the difference between string and String?
Oct 16, 2003 03:44 AM|LINK
MCSD MCAD .NET
serior
Member
175 Points
35 Posts
Re: What is the difference between string and String?
Oct 16, 2003 04:15 AM|LINK
thoean
Member
405 Points
81 Posts
Re: What is the difference between string and String?
Oct 16, 2003 01:05 PM|LINK
serior
Member
175 Points
35 Posts
Re: What is the difference between string and String?
Oct 17, 2003 08:30 AM|LINK