I tried to create a Controller class with the name 1BigController, but MVC won't let me do that. It changes the controller name to _BigController.
Why can't I start a controller name with a number?
I tried to create a Controller class with the name 1BigController, but MVC won't let me do that. It changes the controller name to _BigController.
Why can't I start a controller name with a number?
This is a convention of all C# classes, not just MVC. You can find more in the C# Language Specification (item 2.4.2)
Here's a similar question regarding variable names and numeric vals
MVC uses a convention approach to type resolution. A controller name such as "Big" will cause MVC to search for a BigController. Likewise, if it was not sanitised as "_" and instead was "1Big", MVC would attempt to find a type called 1BigController. Type names cannot start with numbers, so it gets sanitised for you.