New C Sharp Interview Questions :: ALLInterview.com http://www.allinterview.com New C Sharp Interview Questions en-us What exactly happens when we debug and build the program? http://www.allinterview.com/showanswers/178256.html What exactly happens when we debug and build the program? http://www.allinterview.com/showanswers/178254.html FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet http://www.allinterview.com/showanswers/178095.html new Dotnet(); is the object,and dn is the reference to that object.Because, i) you know that REFERENCE TYPES are stored in MANAGED HEAP SO new Dotnet(); is stored in MANAGED HEAP BUT dn is stored on STACK MEMORY AREA. ii) AND,until and unle FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet( http://www.allinterview.com/showanswers/178094.html new Dotnet(); is the object,and dn is the reference to that object.Because, i) you know that REFERENCE TYPES are stored in MANAGED HEAP SO new Dotnet(); is stored in MANAGED HEAP BUT dn is stored on STACK MEMORY AREA. ii) AND,until and unle write code for inserting and updating recoards in sql server databas http://www.allinterview.com/showanswers/177815.html Assignment # 1 Print the pattern given below using single printf stat http://www.allinterview.com/showanswers/177599.html Assignment # 2 Print the pattern given below using single printf statement (please do NOT use the string function below) 0 909 89098 7890987 678909876 56789098765 4567890987654 345678909876543 23456789098765432 1234567890987654321 //( if we are updating a database using thread, and mean while applicati http://www.allinterview.com/showanswers/177546.html write program in c# using this instructions name avinash varma ,work http://www.allinterview.com/showanswers/176004.html difference between managed code and unmanaged code ? http://www.allinterview.com/showanswers/174793.html Managed Code: The code which is running under the control of CLR is called Managed Code. UnManaged Code: If we are using some third party tools, then those code will not be under the control of CLR is called UnManaged code. Integer at long type variable are not object.Support your answer wit http://www.allinterview.com/showanswers/174792.html what is used ref keyword in c#,and how we used it? http://www.allinterview.com/showanswers/174600.html ref keyword casues an argument to be passed by reference,not by value.The effect of passing by reference is that any change to the parameter in the method is reflected in undergoing argument variable in the calling argument.The value of a ref What are Custom Control and User Control? http://www.allinterview.com/showanswers/174435.html Custom Controls are controls generated as compiled code (Dlls), those are easier to use and can be added to toolbox. Developers can drag and drop controls to their web forms. Attributes can be set at design time. We can easily add custom contro What is the difference between ref & out parameters? http://www.allinterview.com/showanswers/174434.html An argument passed as ref must be initialized before passing to the method whereas out parameter needs not to be initialized before passing to a method. what is the purpose of new keyword while creating an object? http://www.allinterview.com/showanswers/172935.html Types cannot be used without being instantiated. To instantiate a type, you use the new operator, which invokes the logic specified in the constructor. After completion, the constructor returns a new instance of the specified type—this instance c what is accessspecifier and explation each with example? http://www.allinterview.com/showanswers/172620.html Access specifiers are private,public etc....