Original Post
Say, for example, I'm writing a class that handles user input. A bunch of the methods of that class might take a Microsoft.DirectX.DirectInput.Key enum. But, if I don't want the person using the class to have to reference and use Microsoft.DirectX.DirectInput, is there a way that I can simply import the Key enum into my own namespace so they can use it from there? As of right now, I just made my own Key enum, clicked "Go to Definition" on the DI Key enum and pasted the contents. That works, but I kind of question the legality of that.