public class MyContainer<T> where T: class, IComparable { //Insert code here }
public class MyContainer<T> where T: IComparabte { // Insert code here }
public class Generic<T> { public T Field; } class Program { static void Main(string[ ] args) { Generic<String> g = new Generic<String>(); g.Field = "Hello"; Console.WriteLine(g.Field); } }
int i = 10; int j = 10;
int i, j; i = 10 : j = 10;
int i = 10, j = 10;
int i, j = 10;
int i = j = 10;
int x = 1; float y = 1.1f; short z = 1; Console.WriteLine((float) x + y * z - (x += (short) y));
short s1 = 20; short s2 = 400; int a; a = s1 * s2;
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.