static void Main(string[] args) { //Console.WriteLine("Hello"); /* Console.WriteLine("Hola"); * Console.WriteLine("Bonjour");*/ ClaseSimple n = new ClaseSimple(); string city = "London"; if (city == "London") { Console.WriteLine("khe?"); } }
public override bool Equals(object obj) { ClaseSimple other = obj as ClaseSimple; return(other == null ? false : Equals(Texto, other.Texto) && Equals(Id, other.Id)); }