#define TESTSEISUND using System; using System.Diagnostics; class Logimine1a{ [Conditional("TESTSEISUND")] static void tryki(string teade){ Console.WriteLine(teade); } public static void Main(string[] arg){ tryki("algus"); } } /* D:\kasutaja\jaagup\proov3>csc Logimine1a.cs Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved. D:\kasutaja\jaagup\proov3>Logimine1a algus */