View Full Version : C Sharp
- How can we display crystal report in button click
- Which is the best way for keeping the data in XML or SQL server and why
- Can we have the method in derived class with the same name which is there in base
- What is read only and constant
- Write the sample code for threading in c# .net
- What is the real use of interface in c#, other than that multiple inheritance is not
- How can we give strong name to assembly? What is satellite assembly
- What is the minimum size (in bytes) of string data type in c#? Give its compatible
- Can we throw exception from catch block
- How do you do exception management
- What is serialization
- What is garbage collection
- Can we return two values from a function
- In c# how to connect crystal report
- What is namespace? Explain its uses
- What is reference parameter? what is out parameter? what is difference b/w these two
- What is collection and what is generic
- How you will connect to windows directory in c#
- Any exceptions are there which are not caught by any catch blocks? what are they
- Syntax for writing private method in a interface
- What are STA And MTA in threading
- What is application domain
- What are delegates
- Which type of variables are under the control of garbage collector
- What are value types and reference types? where they are stored
- Can we have a non static member function in a base class to be override in derived
- What is the Difference between read only and constant variables
- Where test director stores its data
- Is array reference type / value type
- What is difference between value and reference types
- How can you prevent classes to be inherited
- Can we assign null value to value type in c#
- If you declare two interfaces with same method name .prototype how can u call the
- What is the difference between multi-level and multiple inheritance
- How do you implement multiple inheritance in .NET
- What are the security issues if we send a query from the application
- How do you create multiple inheritance in C#
- What are object oriented concepts
- How to transpose rows into columns and columns into rows in a multi-dimensional array
- Does C# supports multi-dimensional arrays
- What is a template
- What are the events in delegate
- What is a delegate? what it is used for
- How do you remove the objects which are not in use? Explicitly or implicitly
- Does C# supports destructors
- What is a constructor
- What are the advantages of c# over vb.net
- What is the difference between interface and abstraction
- Can an Assembly have multiple versions
- What is the difference between C++ and C#.net
- Coding for delegates
- Write code for Factorial
- Write code for palindrome
- What happens in synchronization
- What is Abstraction
- What is Encapsulation
- Tell me something about Exceptions. What is the common exception class
- Explain about throw keyword
- What is the difference between finally and dispose methods
- How many catch blocks can be there for a single try block
- Can we create instance for Abstract class
- What is the difference between Abstract and Interface
- Write the Syntax for Function or Method Overriding
- What is the overhead, if i use binary transmission. and will it be sent using XML
- Give an example for suspending, resuming, and stopping a thread
- How is the memory managed in C#
- How can we convert XML Data to Data Base Table in C#.Net
- What is shared inheritance
- What is the difference between keyword internal and protected
- What is the difference between Hash Table and Arrays
- What is the difference between casting and boxing
- What is array list? what the use of Hash tables
- What is the use of New Keyword
- What r collections in C sharp
- How u make an application remotable
- Is string reference type / value type
- If I want to override a method 1 of class A and in class B then how do you declare
- About multi level and multiple inheritance how to achieve in .net
- How do you implement Inheritance in dot net
- Explain about Virtual functions and their use
- What is overloading and how can this be done
- About a class access specifiers and method access specifiers
- Can we write one page in c# and other in vb in one application
- Explain error handling and how this is done
- What are the types of threading models
- What are the collection classes
- What is manifest
- What is abstract class
- What is difference between interface inheritance and class inheritance
- What is difference between interface inheritance and class inheritance
- What does assembly info.cs consists
- What is the difference between By Val and By Ref
- What are the three types of DAO
- How can you clean up objects holding resources from within the code
- Where does the dispose method lie and how can it be used to clean up resources
- Describe ways of cleaning up objects
- What is a system lock
- What is a resource? Provide an example from your recent project
- Explain constructor
- What is the raise event used for
- What are the two kinds of properties
- What is the Difference between value and reference type
- What is the Difference between imperative and interrogative code
- What are the Different kinds of methods
- Explain the Scope of public/private/friend/protected/protected friend
- Explain manifest & meta data
- What is the Difference between a sub and a function
- What is the Difference between direct cast and c type
- What is the difference between c-sharp and vb.net? What kind of security or advances
- What is early binding and late binding
- What is indexers in C# Bodhtree
- What does Dispose method do with the connection object
- Why would you use untrusted verification
- Explain ACID rule of thumb for transactions
- Can you change the value of a variable while debugging a C# application
- How do you debug an ASP.NET Web application
- Where is the output of Text Writer Trace Listener redirected
- Why are there five tracing levels in System.Diagnostics.Trace Switcher
- What does assert() do
- What debugging tools come with the .NET SDK
- How do you generate documentation from the C# file commented properly with a command
- What name spaces are necessary to create a localized application
- What?s a satellite assembly
- What are the ways to deploy an assembly
- What?s a multicast delegate
- Why is it a bad idea to throw your own exceptions
- Can multiple catch blocks be executed
- Will finally block get executed if the exception had not occurred
- What?s class Sorted List underneath
- What?s the.NET data type that allows the retrieval of data by a unique key
- How can you sort the elements of the array in descending order
- Can you store multiple data types in System Array
- What?s the advantage of using System.Text.String Builder over System.String
- What?s the difference between System.String and System.String Builder classes
- How can you overload a method
- What?s the difference between an interface and abstract class
- Can you inherit multiple interfaces
- Why can?t you specify the accessibility modifier for methods inside the interface
- What?s an interface class
- What is an abstract class
- Can you allow class to be inherited, but prevent the method from being over-ridden
- Can you prevent your class from being inherited and becoming a base class for some
- Can you override private virtual methods
- Can you declare the override method static while the original method is non-static
- What does the keyword virtual mean in the method definition
- How is method overriding different from overloading
- What is the top .NET class that everything is derived from
- Are private class-level variables inherited
- When you inherit a protected class-level variable, who is it available to
- Does C# support multiple inheritance
- How do you inherit from a class in C#
- What is the implicit name of the parameter that gets passed into the class? set metho
- What is the Difference between Data View and Data Table
- What is a pre-requisite for connection pooling
- What connections does Microsoft SQL Server support
- What are three test cases you should go through in unit testing
- Why are there five tracing levels in System.Diagnostics.Trace Switcher
- What is the difference between the Debug class and Trace class
- What is the difference between <c> and <code> XML documentation tag
- What is class Sorted List underneath
- What is the NET data type that allows the retrieval of data by a unique key
- Can you store multiple data types in System.Array
- What is the difference between an interface and abstract class
- What is an interface class
- What is an abstract class
- What is the implicit name of the parameter that gets passed into the class set method
- How does a function pointer returns a function pointer
- What is different about switch statements in C#
- Is goto statement supported in C#? How about Java
- Explain about Protected and protected internal,internal,access-specifier
- What are the access-specifiers available in c#
- What are Sealed Classes in C#
- What is the data provider name to connect to Access database
- What does the parameter Initial Catalog define inside Connection String
- What is the wild card character in SQL
- What is the role of the Data Reader class in ADO.NET connections
- What are advantages and disadvantages of Microsoft-provided data provider classes in
- Explain the three services model (three-tier application)
- Where is the output of Text Writer Trace Listener redirected
- Why are there five tracing levels in System.Diagnostics.Trace Switcher
- What does the This window show in the debugger
- Is XML case-sensitive
- What name spaces are necessary to create a localized application
- When do you absolutely have to declare a class as abstract (as opposed to free
- Describe the accessibility modifier protected internal
- What is raise event and what is its use
- What are the different ways to cleaning up objects
- Explain manifest & meta data
- Explain the difference between a sub and a function
- What is stack and heap
- What is value type and reference type
- How to store image file in Sql server database
- If a base class has a bunch of overloaded constructors, and an inherited class has
- When do you absolutely have to declare a class as abstract (as opposed to free-willed
- What?s the difference between the System.Array.Copy To() and System.Array.Clone()
- What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any
- How is the DLL Hell problem solved in .NET
- In Main function another function is there and to that function if we pass string
- If a class is having 4 variables namely type double,type integer,type string,type
- What are Indexers in c#
- What is a structure?What is a class?why you prefer structure and in which cases you
- What is instance? what are the uses of instance
- What is the name of c#.net compiler
- What is an object? define a class
- Define abstraction,encapsulation,inheritance: with example
- What is mean "Death of Diamond"
- what is the main difference between delegate and an event in c#
- How to use HASH TABLE,ARRAY LIST in c# explain with example
- What is the difference between shadow and override
- How's method overriding different from overloading
- What's the top .NET class that everything is derived from
- What's the implicit name of the parameter that gets passed into the class' set method
- What is the difference between const and static read-only
- Is it mandatory to implement all the methods which are there in abstract class if we
- How to fill data list us inf XML file and how to bind it,code behind language is c#
- What is indexer? where it is used plz explain
- We declare an integer variable 'x' in C# as
- In which a code block in C# is enclosed between
- Which statement all the C# programs must have
- Which extension should C# code files have
- How a C# program can be compiled from command line
- Which is the first level of compilation in the .NET languages
- How ASP.NET web pages can be programmed in C#
- What is IL
- What is CLR
- Can we inherit the java class in C# class,how
- What is CLS
- What is CTS
- Which is the name space used for Reflection
- In which block Unsafe code in C# can be written
- Which method is used to force the garbage collector in C#
- How much amount of virtual memory is available for each process in a 32 bit Windows
- Write the correct syntax for defining a delegate
- Write the syntax to inherit a class
- How do you deploy an assembly
- Which name space is used for globalization
- How does a running application communicate or share data with other application
- Where the Assembly version information is stored
- Explain the types of Assemblies
- Why can't the Applications running in different Application Domains Communicate with
- How can we call explicitly the garbage collector
- What is Boxing
- Can we use pointers in C#
- Which language is more suitable for writing extremely high performance mission
- How Events in C# are implemented
- How we can call COM objects in C#
- Are there any features of C# language which haven't been supported by .NET
- Which Window is used to change the value of a variable while debugging
- Can A virtual method be over ridden
- How XML documents for a C# program can be generated