- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
public static class MyExtensions {
private static Random _random = new Random();
public static bool IsMnogo(this object value) {
try {
var n = double.Parse(value.ToString());
return n > 9999999999;
} catch {
return true;
}
}
public static bool IsDavno(this DateTime value) {
return value < new DateTime(1900 + _random.Next(10, 90), 04, 17);
}
}
yet_another_one_shit 21.04.2018 22:07 # +1
ЗЫ. Чтооо ???
1024-- 22.04.2018 09:49 # +1
AnalDaddy 22.04.2018 09:53 # −1
Alexander 21.04.2018 22:31 # 0