By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
System.Net.dll does not exist. System.Net namespace lives in the System.dll assembly. Therefore, you should use: csc /r:System. dll /out: DNSApp.exe DNSApp.cs.
Dig Deeper on C# programming language
Related Q&A from Chris Sells
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.