![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions C# does not support an explicit fall through for case blocks. The following code is not legal and will not compile in C#: switch(x){case 0:// do somethingcase 1:// do something in common with 0default:// Latest Answer : c# switch allows fall through if and only if in empty case. as long as there is a statement in the case it must use break or go to to jump out of the case. ... The most common problem is that you used a lowercase 'm' when defining the Main method. The correct way to implement the entry point is as follows: class test {static void Main(string[] args) Latest Answer : class test { public test() { } public static void Main(string[] args) {} } modifier for Main is public and inside the clas default constructor is necessary ... StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it is being operated on, a new instance is created. Latest Answer : Ans:Yes,it is right.Answer: StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it is being operated on, a new instance is created. function checkf(form) { var f = document.form1;if ... Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly). Latest Answer : Ans:Yes,It is corect.Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly). ... Transaction must be Atomic (it is one unit of work and does not dependent on previous and following transactions), Consistent (data is either committed or roll back, no “in-between” case where Latest Answer : Ans:ACID:ExpandingA:AtomicTransaction must be Atomic (it is one unit of work and does not dependent on previous and following transactions)C:ConsistentConsistent (data is either committed or roll back, no “in-between” case where something has been updated ... .NET FRAMEWORK1. What is .NET Framework?The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages View Question | Asked by : Prasanna Muthukrishnan Skill/Topic: IntermediateA) A logical unit containing complited codeB) A collection of C# compilersC) .NET debugger Latest Answer : (A) is correct. An assembly is a logical unit containing compiled code ... A) Same parameter types but different return valuesB) Varying number of parametersC) Different parameters types but different return valuesD) Different parameters type but same return values Latest Answer : Answer is A) Same parameter types but different return values.Function overloading depends on the 1) parameter types 2) number of parameters 3) order of parameters ... I have taken a windows application and a button control in it.I want to declare a variable as a sealed and use that variable with in same class as we cannot use in other class. class test { Latest Answer : Classes can only be sealed. Methods, Properties, and variables cannot be sealed. ... You have several instances of the following class (User). Provide a class with three methods:"AddUser" accepts a User instance as a parameter and add it to a collection."GetUser" accepts
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||