Which namespace is mostly preferred for the operation of networking in C#?
A. System.Web
B. System.Net
C. System.Net.Mail
D. All of the mentioned
Answer:A
Which namespace is mostly preferred for the operation of networking in C#?
A. System.Web B. System.Net C. System.Net.Mail D. All of the mentioned
Explanation: Networking support is contained in several namespaces defined by the .NET Framework.The primary namespace for networking is System.Net. It defines a large number of high-level, easy-to-use classes that support various types of operations common to the Internet.Several namespaces nested under System.Net are also provided. Example :System.Net.Mail.