C Sharp Interview Questions
Questions Answers Views Company eMail

What is internal and protected-internal accessspecifier in c#.net?

1 1935

what is accessspecifier and explation each with example?

3 2518

what is the purpose of new keyword while creating an object?

3 5198




What is the difference between ref & out parameters?

2 2689

What are Custom Control and User Control?

1 2551

what is used ref keyword in c#,and how we used it?

2 3445

Integer at long type variable are not object.Support your answer with example.And explain the technique to convert from value type to reference type and vice-versa.

HCL,

1 2788

difference between managed code and unmanaged code ?

3 4341




write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1284

if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

1306

Assignment # 1 Print the pattern given below using single printf statement XX XX XX XX XX XX X X X X XX XX XX XX XX XX 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

Wipro,

3 4962

write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )

1330

FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ?EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER?????PLEASE REPLY...

1 2317

FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ? EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER????? PLEASE REPLY...

2 3642

What exactly happens when we debug and build the program?

1565


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

In .NET how can you solve the DLL Hell problem?

2


From which base class do all Web Forms inherit from?

1


What is the namespcae generally given to the webpage of the .NET Framework ?

2


If multiple interfaces are inherited and they have conflicting method names; What will happen ?

1


For methods inside the interface why can’t you specify the accessibility modifier?

2






In a memory when you Box and Unbox a value-type what happens?

2


If I want to override a method one of class A and in class b then how do you declare?

9


what class is underneath the sortedlist class?

1


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1352


Explain About .NET Framework

2


Explain about Oops concept

2


update data in an xml file which resides in solution itself, using silverlight 4.0

807


can you create a function in c# which can accept varying number of arguments

1


Whats an assembly? Describe the importance of assembly?

1


Explain About friend and Protected friend

1