c# - Imports (using) in Microsoft Visual studio doesn't work -


i want load image program, usings doens't work. why?

using system; using system.drawing;  namespace myprogram {     class program     {         static void main(string[] args)         {            image image1 = image.fromfile("c:\\photo1.jpg");         }            } } 

looks dont add references. here can read how in in visual studio. dll need namespace, can check on msdn


Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -