C Sharp Interview Questions
Questions Answers Views Company eMail

what is work of continue statement in C#?

3 3880

how to cleanup object that does not support dispose method? How to implement dispose for such scenarios?

ITC Infotech,

2 1904

boxing means converting value type to reference type and unboxing means converting reference type to value type.why we need boxing and unboxing?

Value Labs, General Mills,

3 4479




how to return morethan one value using out parameter in c#.net ; For Example : public int show(out int []a) { int []a={1,2,3,4,5}; return a[]; } we have to print all the values without using the Console.WriteLine statement;

Verizon,

1 3062

hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO

HCL,

568

What Is The Difference Between ViewState and SessionState?

Fiserv,

1 4195

if you do have a stack overflow profile.what is your ranking?

585

1. What is lazy loading? 2. What is delay signing? 3. How to transfer view object to presenter in MVP? 4. How to create a generic class? 5. What is Ajax object? 6. What is explicit interface implementation? 7. I1, I2 interfaces have same methods (say PrintName) explicitly implemented in class C1. Now how to call PrintName method from I1? 8. I have a list of Customers. List the customer with maximum orders using LINQ.

Volvo, Aptron,

1 891




What is Partial class? What purpose we use it?

TATA, ACS,

6 4083

What is Delay Signing?

ACS,

1 3242

what is default accessibility for a class? what is difference b/w viewstate and controlstate? what is the default access specifier for a top level class which are not nested into other classes?

2 1727

Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server

410

hi, I am a begineer to c sharp. I have written a code for finding out prime numbers. Can anyone identify what are the flaws in my code. Kindly donot complex the code or present logic because i am new to c sharp and just started learning programming language.Thanks in advance. class Program { static void Main(string[] args) { int a,b=1; a = int.Parse(Console.ReadLine()); c= int.Parse(Console.ReadLine()); if (a % b == 0 && a % 2 != 0 && a % a == 0) Console.WriteLine(a); else if (a % b == 0 && a % 2 == 0) Console.WriteLine(a%2); Console.WriteLine("Number is not PRIME"); Console.ReadLine(); } } }

2 1578

There are a class A. Another class B derived from it. Now if I do A a = new B(); and B b = new B(); What will happen in both the statements. And what is the difference between these two statements.

HCL,

3 3474

I created a class which is inherited from interface IDisposable. Now if I use object of this class with using keyword. Then How the dispose method will get call. Does garbage collector call it or some else.

Sapient,

2 3600


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

how can one use hcl and c sharp together?

674


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

867


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close

644


windows c# using datagridview in edit form sql server

2662


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

587


hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO

568


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

664


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

662


how to print invert pyramid in c#

152


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?

210


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

617


What framework is used for performance testing/load testing?

621


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

995


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

1646


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

750