От: | nikov | http://www.linkedin.com/in/nikov | |
Дата: | 19.07.10 16:59 | ||
Оценка: |
using System.Collections.Generic;
public class C
{
public static bool Foo(string x, string y)
{
var s = new SortedSet<string>();
s.Add(x);
return x.Length != y.Length && s.Contains(y);
}
}