Top C Sharp Interview Questions :: ALLInterview.com http://www.allinterview.com Top C Sharp Interview Questions en-us What are the access-specifiers available in c#? http://www.allinterview.com/showanswers/4902.html The access-specifiers available in C# are: 1. public - The member can be accessed from anywhere 2. internal - The member can only be accessed from type it originates from or other types in the same assembly 3. protected - The member can only be what's the Difference between DataView and DataTable? http://www.allinterview.com/showanswers/7643.html data tables holds all the rows of the table where as date view hold te filtered or reqired rows that are been retrived on a particular condition i think my answer is correct Is string reference type / value type? http://www.allinterview.com/showanswers/33094.html string is Reference Type can we assign null value to value type in c#? http://www.allinterview.com/showanswers/33020.html ya we can assign null value to valuetype but to certain datatype only like string but not to int or float. Difference between C++ and C#.net http://www.allinterview.com/showanswers/28774.html C# - web programming,CLR.. What is the difference between Abstract and Interface? http://www.allinterview.com/showanswers/28553.html In an interface class, all methods are abstract - there is no implementation. In an abstract class some methods can be concrete - there can be implementation. In an interface class, no accessibility modifiers are allowed - are public by def What is the difference between Hash Table and Arrays? http://www.allinterview.com/showanswers/23570.html Both the hash table and arrays is used to store the element.hash table is derived from the collection base class.array is the base class of system.object.array is reference type.which is identified with the position of array for both insertio Can we return two values from a function? http://www.allinterview.com/showanswers/57013.html I think yes.. Function can return multiple values.. It's not good practice.. but C# allows you.. Consider following example int Val; GetValue(Val); bool GetValue(out int Val) { Val = value; return true; } what is reference parameter? what is out parameters? what is differe http://www.allinterview.com/showanswers/56254.html a ref parameter must first be initialized before being passed from the calling function to the called function. but a out parameter need not be initialized, we can pass it directly Is array reference type / value type ? http://www.allinterview.com/showanswers/20713.html array in .net is of reference type.It implements various interfaces.also the array you create is automatically derived from system.array class Can we create instance for Abstract class? http://www.allinterview.com/showanswers/28554.html NO, we can't create instance for abstract class difference between keyword internal and protected? http://www.allinterview.com/showanswers/23820.html Major different between these internal and protected keyword reside on scope in which it can be accessible. internal defines the scope with in the assembly and protected defines the scope to the derived (sub) class. what is the real use of interface in c#,other than that multiple inhe http://www.allinterview.com/showanswers/58100.html When creating a standalone project which can be changed at will, use an interface in preference to an abstract class; because, it offers more design flexibility. Use an interface to design a polymorphic hierarchy for value types. U How can we convert XML Data to DataBase Table in C#.Net? http://www.allinterview.com/showanswers/26375.html using System.XML; We can fill the Dataset using Ds.ReadXML(); Then Update the Data into Database. What is the Main difference between String and StringBuilder and why http://www.allinterview.com/showanswers/63507.html String class is immutable, means we can not change the contents of string at run time, for example String s1="loin"; string s2=s1.insert(3,"g"); now s2 have the value login ,but one thing to notice here is that we are not as