摘要:        
1 using System.Dynamic; 2 public class Duck : DynamicObject 3 { 4 public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out o    阅读全文
posted @ 2020-04-19 23:13
FredGrit
阅读(106)
评论(0)
推荐(0)
        
            
        
        
摘要:        
using System.Runtime.CompilerServices; static void AttributesDemo([CallerMemberName] string memberName = null, [CallerFilePath] string filePath = null    阅读全文
posted @ 2020-04-19 22:40
FredGrit
阅读(122)
评论(0)
推荐(0)
        
            
        
        
摘要:        
static void WebClientDemo() { string str = null; using(WebClient wc=new WebClient()) { try { str = wc.DownloadString("http://www.albahari.com/nutshell    阅读全文
posted @ 2020-04-19 19:19
FredGrit
阅读(244)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号