- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
using static System.Console;
namespace OptimizationDetector
{
public static class OptimizationDetector
{
private static class pls
{
public static bool wtf = true;
}
private static int rly = detect();
private static int detect()
{
pls.wtf = false;
return 0;
}
public static bool IsOptimizationEnabled
{
get { return pls.wtf; }
}
}
class Program
{
static void Main(string[] args)
{
WriteLine($"\"Optimize code\" is enabled: {OptimizationDetector.IsOptimizationEnabled}");
ReadKey();
}
}
}
Kozel 29.06.2016 11:38 # 0
cykablyad 29.06.2016 12:56 # +1
nihau 01.07.2016 13:14 # 0