public Node(Node node) { this.key = node.key; this.value = node.value; this.Left = node.Left; this.Right = node.Right; }
public Node(Tkey key1, Tvalue value1) { this.key = key1; this.value = value1; this.Left = null; this.Right = null; }
public static void Main(string[] args) { Square sq = (a) => a * a; int rez = sq(5); Console.WriteLine(rez); LoginService.SetLogin(); LoginService.SetPassword(); CustomDelegate <int> cd = (int Tvalue) => Console.WriteLine(Tvalue); cd(11111); CustomDelegate <double> cd2 = (double Tvalue) => Console.WriteLine(Tvalue + 2); cd2(0.1); CustomDelegate <string> cd3 = (string Tvalue) => Console.WriteLine(Tvalue.IndexOf('a')); cd3("aaa"); }
public MyDictionaryPair(Tkey key, Tvalue value) { this.key = key; this.value = value; }
public Entry(Tvalue value) { Value = value; AdditionDate = DateTime.Now; }
public KeyValue(Tkey key, Tvalue value) { this.Key = key; this.Value = value; }