I have an ambiguous reference between two methods from different classes.
This classes are in different namespaces that share the same structure like:
MyApp.Models.Folder1.Class1
MyApp.Models.Folder2.Class2
Why I can't use like this?
using MyApp.Models;
//and use this static method
Folder1.Class1.StaticMethod();
And is there any way to use a namespace just for a method? like:
[using(MyApp.Models.Folder1)]
public ContentResult SomeGetMethod(){
if(Class1.StaticBooleanMethod()) return "nice baby!";
return "that was horrible!";
}