Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# HttpWebRequest与webclient类谁更好_C#_Asp.net_Performance_Httpwebrequest_Httpwebresponse - Fatal编程技术网

C# HttpWebRequest与webclient类谁更好

C# HttpWebRequest与webclient类谁更好,c#,asp.net,performance,httpwebrequest,httpwebresponse,C#,Asp.net,Performance,Httpwebrequest,Httpwebresponse,可能重复: 我猜不出谁更好 或 你能告诉我哪一个在性能方面更好吗?我建议你在这两种情况下都测试性能。我相信WebClient只是一个在幕后实现HttpWebRequest的助手

可能重复:

我猜不出谁更好


你能告诉我哪一个在性能方面更好吗?我建议你在这两种情况下都测试性能。我相信WebClient只是一个在幕后实现HttpWebRequest的助手