예제 #1
0
        static void Main(string[] args)
        {
            ILibraryImport import = LibraryImport.Select();

            Console.WriteLine(string.Format("pow(2, 8): {0}", import.Pow(2, 8)));
            Console.WriteLine(string.Format("returnPI(): {0}", import.ReturnPI()));
        }
예제 #2
0
        static void Main(string[] args)
        {
            ILibraryImport import = LibraryImport.Select();

            import.SendMsg("Bye");
            import.SetReceiveMessageCallBack(msg => Console.WriteLine($"{msg} Kitty"));
            import.StartCore();
        }
예제 #3
0
        static void Main(string[] args)
        {
            ILibraryImport import = LibraryImport.Select();

            import.ProcessData(1, 10, s => Console.WriteLine(s));
        }