int d; d = Convert.ToInt32( !(30 < 20) );
String s1 = "Nagpur"; String s2; s2 = s1.Insert(6, "Mumbai"); Console.WriteLine(s2);
namespace CuriousTabConsoleApplication { class SampleProgram { static void Main(string[ ] args) { string str= "Hello World!"; Console.WriteLine( String.Compare(str, "Hello World?" ).GetType() ); } } }
class Trial { int i; Decimal d; } struct Sample { private int x; private Single y; private Trial z; } Sample samp = new Sample();
class Student s1, s2; // Here 'Student' is a user-defined class. s1 = new Student(); s2 = new Student();
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.