How do I create a new form in c#?



How do I create a new form in c#?..

Answer / Ranjan Kumar

In C#, you can create a new Form by declaring a new instance of System.Windows.Forms.Form and setting its properties as needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How can we set class to be inherited, but prevent the method from being over-ridden?

1 Answers  


What is an interface class? Give one example of it

1 Answers  


What is cls, cts and clr in net?

1 Answers  


Define c# i/o classes?

1 Answers  


In C#, explain the difference between overloading and overriding.

1 Answers   Accenture,


How are delegates chosen?

1 Answers  


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

1 Answers   TCS,


I want to print "Hello" even before main() is executed. How will you achieve that?

1 Answers   DELL,


Is c# lazy thread safe?

1 Answers  


Can we inherit static class in c#?

1 Answers  


What does clr stand for?

1 Answers  


Is a c# interface the same as a c++ abstract class?

1 Answers  


Categories