There is no class like System.Windows.Form in C#.......
as i want to use messagebox in C#
I have added reference as
In solution explorer -> right click to website
add refenrence -> system.windows.forms check checkbox
write in program i.e. default.aspx
using system.windows.forms; //add lib
use messagebox("Hello");