Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Sharp Interview Questions
Questions Answers Views Company eMail

what is work of continue statement in C#?

3 7293

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

ITC Infotech,

2 4827

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

General Mills, Value Labs,

3 8375

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 5100

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,

1 2616

What Is The Difference Between ViewState and SessionState?

Fiserv,

1 6480

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

1929

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.

Aptron, Volvo,

1 2914

What is Partial class? What purpose we use it?

ACS, TATA,

6 9543

What is Delay Signing?

ACS,

1 5440

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 4182

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

2010

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 4483

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 7153

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 6502


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

What is difference between float and integer?

1043


What do multicast delegates mean?

1069


How to properly clean up excel interop objects?

989


What is dataadapter c#?

940


Overloaded constructor will call default constructor internally?

1112


What is datasource c#?

948


Which of these string definitions will prevent escaping on backslashes in c#?

1056


Is c# static or dynamic?

999


How to open a new form on button click in Windows forms?

1022


Is enum a class c#?

916


Why do we use class in c#?

982


What is a partial class. Give an example?

1034


Can var be null c#?

922


What is datatable and dataset in c#?

1060


What is the difference between package and interface?

978