Single f = 9.8f; String s; s = (String) (f);
Single f = 9.8f; String s; s = Convert.ToString(f);
Single f = 9.8f; String s; s = f.ToString();
Single f = 9.8f; String s; s = Clnt(f);
Single f = 9.8f; String s; s = CString(f);
String str = "She sells sea shells on the sea-shore";
int i;
i = str.SecondIndexOf("s");
String str = "She sells sea shells on the sea-shore";
int i, j;
i = str.FirstIndexOf("s");
j = str.IndexOf("s", i + 1);
String str = "She sells sea shells on the sea-shore";
int i, j;
i = str.IndexOf("s");
j = str.IndexOf("s", i + 1);
String str = "She sells sea shells on the sea-shore";
int i, j;
i = str.LastIndexOf("s");
j = str.IndexOf("s", i - 1);
String str = "She sells sea shells on the sea-shore";
int i, j;
i = str.IndexOf("S");
j = str.IndexOf("s", i);
String str = "She sells sea shells on the sea-shore";
int i, j;
i = str.IndexOf("s");
j = str.IndexOf("s", i + 1);
namespace CuriousTabConsoleApplication { class SampleProgram { static void Main(string[ ] args) { string str= "Hello World!"; Console.WriteLine( String.Compare(str, "Hello World?" ).GetType() ); } } }
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);
if(s1 = s2)
if(s1 == s2)
int c; c = s1.CompareTo(s2);
if( strcmp(s1, s2) )
if (s1 is s2)
String s1 = "ALL MEN ARE CREATED EQUAL"; String s2; s2 = s1.Substring(12, 3); Console.WriteLine(s2);
String s1="Kicit"; Console.Write(s1.IndexOf('c') + " "); Console.Write(s1.Length);
enum color : byte { red = 500, green = 1000, blue = 1500 }
enum per { married, unmarried, divorced, spinster } per.married = 10; Console.WriteLine(per.unmarried);
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.