C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write? ,Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?

Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there is no implementation in 

More interview questions and answers
What are limitations of Ajax?
Question:-What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?
Question:-How can you sort the elements of the array in descending order?
What is the role of a ScriptManagerProxy?
Question:-Can multiple catch blocks be executed?
What is an UpdatePanel Control?
Question:-What’s a delegate?
Question:-What’s a multicast delegate?
Question:-How’s the DLL Hell problem solved in .NET?
What’s a satellite assembly?
What namespaces are necessary to create a localized application?
What is the name of AJAX controls ?
What’s the difference between // comments, /* */ comments and /// comments
How do you generate documentation from the C# file commented properly with a command-line compiler?
What’s the difference between the Debug class and Trace class? Documentation looks the same
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
What is ASP.NET AJAX?
How does cookies work in ASP.Net?
Can multiple catch blocks be executed?
Is it possible to have different access modifiers on the get/set methods of a property?
What's C# ?
What do you know about .NET assemblies?
What’s the difference between private and shared assembly?
What’s a strong name?
Where are shared assemblies stored?
How can you create a strong name for a .NET assembly?
Where’s global assembly cache located on the system?
Can you have two files with the same file name in GAC?
How do I simulate optional parameters to COM calls?
How do I make a DLL in C#?
What is delay signing?
Can you prevent your class from being inherited and becoming a base class for some other classes?
Will finally block get executed if the exception had not occurred?
Is there regular expression (regex) support available to C# developers?
Is there a way to force garbage collection?
What is a satellite assembly?
Difference Between Thread and Processs?
How is method overriding different from overloading?
When do you absolutely have to declare a class as abstract
When do you absolutely have to declare a class as abstract?
What is the implicit name of the parameter that gets passed into the class set method?
What is the difference between an EXE and a DLL?
How do I register my code for use by classic COM clients?
Difference bt ASP and asp.net?
ASP.net Versions ?
What is ASp.net ?
Define File Name Extensions In Asp .net ?
What is the structure of ASP.Net Pages ?
Difference between Cookies and Session in Asp.Net ?
How do I create a multi language, multi file assembly?
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
Why cannot you specify the accessibility modifier for methods inside the interface?
Why do I get a syntax error when trying to declare a variable called checked?
What is the equivalent to regsvr32 and regsvr32 /u a file in .NET development?
Types of Debbuger ?
What is the Difference Between Compiler and Debugger ?
What is the Difference between Compiler and Translator?
What is the difference between const and static read-only?
What does the parameter Initial Catalog define inside Connection String?
What is the top .NET class that everything is derived from?
Can you allow class to be inherited, but prevent the method from being over-ridden?
Can you change the value of a variable while debugging a C# application?
Are private class-level variables inherited?
Can you inherit multiple interfaces?
How can I create a process that is running a supplied native executable (e.g., cmd.exe)?
What is Globalization ?
What happens when you make changes to an application\'s Web.config file?
What are the steps to host a web application on a web server?
What is the difference between Session Cookies and Persistent Cookies?
What are the advantages and disadvantage of Using Cookies?
Describe the accessibility modifier “protected internal”.
What does the term immutable mean?
Can you store multiple data types in System.Array?
What’s the .NET collection class that allows an element to be accessed using a unique key?
.What class is underneath the SortedList class?
Explain the three services model commonly know as a three-tier application?
Explain Namespace ?
Can you allow a class to be inherited, but prevent the method from being over-ridden?
.What’s an abstract class?
.When do you absolutely have to declare a class as abstract?
What is an interface class?
What happens if you inherit multiple interfaces and they have conflicting method names?
What’s the difference between an interface and abstract class?
What is the difference between a Struct and a Class?
What’s the implicit name of the parameter that gets passed into the set method/property of a class?
What does the keyword “virtual” declare for a method or property?
Can you declare an override method to be static if the original method is not static?
What are the different ways a method can be overloaded?
What’s a delegate?
What’s a multicast delegate?
What’s the implicit name of the parameter that gets passed into the class’ set method?
How do you inherit from a class in C#?
When you inherit a protected class-level variable, who is it available to?
Describe the accessibility modifier protected internal.?
. What does the keyword virtual mean in the method definition?
Can you declare the override method static while the original method is non-static?
Can you override private virtual methods?
What is CLR?
What’s an interface class?
What is Shallow Copy and Deep Copy in .NET?