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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -