摘要:        
一、服务端 1、主界面 2、远端连接Socket客户端集合 //将远程连接的客户端的IP地址和Socket存入集合中 Dictionary<string, Socket> dicSocket = new Dictionary<string, Socket>(); 3、监听事件 /// <summar    阅读全文
posted @ 2022-03-31 16:05
码农阿亮
阅读(514)
评论(1)
推荐(1)
        
            
        
        
摘要:        
一、常见非托管资源 Windows窗口句柄、数据库链接、GDI对象、独占文件锁等等对象 ApplicationContext,Brush,Component,ComponentDesigner,Container,Context,Cursor FileStream,Font,Icon,Image,M    阅读全文
posted @ 2022-03-31 14:23
码农阿亮
阅读(137)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、定义接口 public interface ICalculate { int Add(int a, int b); } 二、定义实现接口类 public class A : ICalculate { public int Add(int a, int b) { return a + b; } }    阅读全文
posted @ 2022-03-31 13:17
码农阿亮
阅读(84)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号