© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
17 replies
Silme94

❔ System.Net.Http Not Found

while compiling ths file, i got an error that say that Http doesn't exist in the namespace System.Net Who can help me fix it?

using System;
using System.Net;
using System.Net.Http;

class Program{

    HttpClient client = new HttpClient();
    static void Main(string[] link){
        foreach(string i in link){
            Console.WriteLine(i);
        }  
    }
}
using System;
using System.Net;
using System.Net.Http;

class Program{

    HttpClient client = new HttpClient();
    static void Main(string[] link){
        foreach(string i in link){
            Console.WriteLine(i);
        }  
    }
}
kiutyjthg.PNG
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ System.Net.HTTP missing
C#CC# / help
3y ago
❔ Getting rid of System.Net.Http.Formatting
C#CC# / help
3y ago
✅ Legacy project, `using System.Net.HTTP` does not compile. What do?
C#CC# / help
2y ago