public class MyContainer<T> where T: IComparabte { // Insert code here }
class BaseClass { protected int i = 13; } class Derived: BaseClass { int i = 9; public void fun() { // [*** Add statement here ***] } }
namespace CuriousTabConsoleApplication { class Baseclass { public void fun() { Console.WriteLine("Hi" + " "); } public void fun(int i) { Console.Write("Hello" + " "); } } class Derived: Baseclass { public void fun() { Console.Write("Bye" + " "); } } class MyProgram { static void Main(string[ ] args) { Derived d; d = new Derived(); d.fun(); d.fun(77); } } }
String s1, s2; s1 = "Hi"; s2 = "Hi";
enum color: int { red, green, blue = 5, cyan, magenta = 10, yellow } Console.Write( (int) color.green + ", " ); Console.Write( (int) color.yellow );
enum color : byte { red = 500, green = 1000, blue = 1500 }
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);
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.