{I+=codeWee;}
[C#] Delegate : C-like function pointer Array
        private delegate string DemoDelegate();      
        private DemoDelegate [] Delegate_Function ;          

        
        public MainForm()
        {
       
            Delegate_Function = new DemoDelegate [] {new DemoDelegate(Func_A), new DemoDelegate(Func_B)} ;
        }

        string Func_A()
        {
            return "This is A" ;            
        }
        
        string Func_B()
        {
            return "This is B" ;            
        }
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.