I have a small issue with one of my projects, I have an entity called Image which is used to stored information about uploaded images in a CMS system I have created.
This hides the system.drawing.image this was not an issue until I needed to start doing image manipulation on a page which uses both classes.
At the moment in the declarations I have Using Image = myCMS.Entities.Image;
So when calling Image I am using my object, but when calling system.drawing.image I have to type system.drawing.image
What is the best approach to use with issues like this? As I didnt think about framework class names when developing this application.
Aside from changing your entity name, your options are really limited to name-aliasing and/or fully-qualifying the two colliding names, as you are already doing.
My personal preference would be fully-qualifying both type names throughout the source. Your current approach is a mix of both aliasing and qualifying. You can also alternatively alias both types to something like: