C Sharp Interview Questions
Questions Answers Views Company eMail

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

1 1783

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.

1259

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 2345




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 2212

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

4 5596

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 2332

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

TCS, IBM,

3 11131

How did you implemented classes in your project?

TCS,

1 4852




what is lamda expression?

3 3050

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

HCL,

4 8087

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

CTS,

791

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

Satyam,

849

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

Satyam,

2 3184

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 3032

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

1 2034


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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

791


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

3022


In gridview in editmode if we want to display information in one combobox based on

1017


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

849


explain the nature of the assembly work?

1405






how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

647


Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE

3037


what is .NET framework architecture ??

845


what is main function of alternate teamplate of datalist?

905


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?

435


i want the csharp questions&answeres

778


how can one use hcl and c sharp together?

896


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.

1215


What exactly happens when we debug and build the program?

1465


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!!

984