C Sharp Interview Questions
Questions Answers Views Company eMail

If i have 100 objects in my application are out of scope.when first time garbage collected how many objects memory reference are free?

ITC Infotech,

2 3159

What are the keywords used to pass parameters to the base class and how do I invoke other constructors.

3 2936

This is Kishore i am MCA graduate i have percentage less(52%) in my 10th still i completed .NET course any body tell me how to put fake experience with my BSC degree if you do not mind tell me some fake certificates giving consultencies names in Chennai,Bangalore

5 4657




i have a question which is quite simple but yet complicated for me my question is why do we use void, if it does not return anything to the compiler? if it is used for normal display it can also be done by what is called Console.Write() or Consol.WriteLine() and if i do not use void with my method then my compiler throws me an error. if i return a value say integer then i write public int fun() display of the result can also be done here then why is it so necessary to use void with a function and why so compiler throw us an error if v don't use void return type?

2 2345

What is GAC?

Cognizant,

1 3696

What is delegates & multicast delegate?

Cognizant,

2 5830

What is Interface? Explain with an example.

TCS,

8 14475

What is difference between Convert.ToString(variable) and variable.ToString()

Mascon,

4 6534




which datatype i have to use we i need dynamic size.for eg. empname .in first row it have only five chars.but next row it have 100 chars.

3 2860

if i used stored procedure for retrieving the data from sql server.in front end i had used data reader.when 100 records are there in table.when it has displayed ten records in frontend database has been collapsed.then where should our data available...

CybAge, Wipro,

2 4533

what is dynamic sql

TCS, Wipro,

2 4071

What is piller of OOPS in C#.

10 10565

Why multiple Inheritence is not used in C#?

Symphony,

8 5993

Can we define a variable with the access modifier private in an interface?

IBM,

7 7526

can we declare a variable by name "this" in a class? Please explain?

IBM,

3 3768


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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

1254


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

1017


Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!

14530


What issues can be faced while delivering code?

813


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






In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1167


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

868


why delegate is type safe?

1914


windows c# using datagridview in edit form sql server

2884


What framework is used for performance testing/load testing?

822


how to print invert pyramid in c#

450


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

850


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.

825


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.

1216


What exactly happens when we debug and build the program?

1468