コード例 #1
0
        static void Main(string[] args)
        {
            SampleAttributeHandler handler = new SampleAttributeHandler();

            string[] strs = handler.GetAttributeValue(typeof(TestClass));
            Console.WriteLine(string.Join(",", strs));

            LogicForHandlers handlers = new LogicForHandlers();

            handlers.DoSomething();

            ProduceString ps = new ProduceString();

            ps.Culture();
            CompareStrings cs = new CompareStrings();

            cs.Culture();
            cs.EmptyCheck();

            //StringParser sp = new StringParser();
            //sp.DoSomething();

            SampleHorse.Core.Generics.Logic gs = new SampleHorse.Core.Generics.Logic();
            gs.DoSomething();

            var ls = new Core.LINQ.LinqSamples(); //Please see the namespaces SampleHorse is not required. This class and LinqSamples has common namesapce base

            ls.DoSomethingWithJoin();

            var asyncS = new AsyncSample();

            asyncS.DoSomething();

            Console.ReadKey();
        }
コード例 #2
0
ファイル: Program2.cs プロジェクト: tedneward/Demos
 public static void PrintMessage(ProduceString ps)
 {
     Console.WriteLine(ps("PM:: "));
 }