C Sharp Interview Questions
Questions Answers Views Company eMail

what are ways to debug the code step by step except using breakpoints?

1 1767

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.

1251

Write an expression which satisfies the following statements: (i) Creates an object of type q (ii) If m is null, returns n, otherwise returns m (iii) If x and y are string types, it concatenates x and y

1 2329




I have a very important query in my mind. Please help me regarding this. I don't have any real time exp in .net. But I have a knowledge it .net. I got an offer from an MNC company as a software developer has I had kept 2 years of fake exp. Even though for this job I had worked hard to crack interview for about an year. So, I would like to know how difficult it will be for working in real time as I don't have real time exp. Please tell me as soon as possible bcoz I need to join by next month. Can i sustain over there for a longer time or not. And also let me know how to work pressure will be over there. Please help me regarding this. I'm getting tension thinking about it. Thank you.

1 2190

What is the difference between String s(Small s) and String S(Capital S)?

4 5519

i have a table named login in mysql database containing (empid,fname,lname,mobno,emailid,usrname,usrpwd) i have 2 textboxes in which i enter my username and pwd..so based on what is entered in those textboxes it should retreive all other details of dat username in the remaining 6 textboxes..i want the code for this...

Royal Enfield,

1 2314

STATIC METHOD CAN BE OVERLOADING AND OVERIDNG? IS POSSIBLE IN iN c# .NET AND WHAT IS THE REASON??

TCS, IBM,

3 11008

How did you implemented classes in your project?

TCS,

1 4832




what is lamda expression?

3 3016

why we can't create an object for a static class?? what is the reason behind this?

HCL,

4 8026

what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

CTS,

779

what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

Satyam,

841

what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

Satyam,

2 3158

What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!

HCL,

1 3015

what is meant inheritance. can you exaplain what kind inhertance ussed in your project

1 2015


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......

733


what is main function of alternate teamplate of datalist?

886


I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.

806


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!

967


why delegate is type safe?

1900






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.

1251


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

779


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

1817


Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards

822


4. Describe the process when we send a request URL? And who is responsible for that?

863


hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?

418


1. Describe page life cycle?

891


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.

1196


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

1191


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

985