String s = "123"; int i; i = (int)s;
String s = "123"; int i; i = int.Parse(s);
String s = "123"; int i; i = Int32.Parse(s);
String s = "123"; int i; i = Convert.ToInt32(s);
String s = "123"; int i; i = CInt(s);
String s1 = "Nagpur"; String s2; s2 = s1.Insert(6, "Mumbai"); Console.WriteLine(s2);
String s1, s2; s1 = "Hi"; s2 = "Hi";
String s1 = "Five Star"; String s2 = "FIVE STAR"; int c; c = s1.CompareTo(s2); Console.WriteLine(c);
if(s1 = s2)
if(s1 == s2)
int c; c = s1.CompareTo(s2);
if( strcmp(s1, s2) )
if (s1 is s2)
String s1 = "String";
String s2;
s2 = s1;
String s1 = "String" ;
String s2;
s2 = String.Concat(s1, s2);
String s1 = "String";
String s2;
s2 = String.Copy(s1);
String s1 = "String";
String s2;
s2 = s1.Replace();
String s1 = "String";
String s2;
s2 = s2.StringCopy(s1);
String s1 = "String";
String s2;
s2 = String.Copy(s1);
namespace CuriousTabConsoleApplication { class SampleProgram { static void Main(string[ ] args) { string str= "Hello World!"; Console.WriteLine( String.Compare(str, "Hello World?" ).GetType() ); } } }
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.