namespace but used like a type

namespace TestApplication // Remove .Controller
{
    public class HomeController : Controller
    {
       public ActionResult Index()
        {
            return View();
        }
    }
}

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
animal repository is a namespace but used like a type Severity Code Description Project File Line Suppression State Error CS0118 ""'WebBrowser'"" is a namespace but is used like a type Severity Code Description Project File Line Suppression State Error CS0118 "'WebBrowser'" is a namespace but is used like a type c# class is a namespace but is used like a type namespace but used like a type controller is a namespace but used as a type Severity Code Description Project File Line Suppression State Error CS0118 'CalculatorEngin' is a namespace but is used like a type Calculatorv0.1 C# Severity Code Description Project File Line Suppression State Error CS0118 'CalculatorEng' is a namespace but is used like a type Calculatorv0.1 C:\Users\Osama\source\repos\Calculatorv0.1\Calculatorv0.1\Form1.cs 19 Active 'Task' is a namespace but is used like a type error CS0118: 'Controllers' is a namespace but is used like a type DbContext is a namespace but is used like a type is a namespace but is used like a type unity exception is a namespace but is used like a type c# 'Event' is a namespace but is used like a type animation is a namespace but used like type c# xamarin forms animation is a namespace but used like type c# xamarin forms animation is a namespace but use like types blazor Severity Code Description Project File Line Suppression State Error CS0118 'App' is a namespace but is used like a type Program.cs 26 Active analysis is a namespace but used like a type System is a namespace bu it used
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source