http://techinterview.weebly.com/c.html

C# Interview Questions


If a method is marked as protected internal how can it be
accessed?<http://techinterview.weebly.com/6/post/2008/08/if-a-method-is-marked-as-protected-internal-how-can-it-be-accessed.html>

How can I make sure my C# classes will interoperate with other .NET
languages?<http://techinterview.weebly.com/6/post/2008/08/how-can-i-make-sure-my-c-classes-will-interoperate-with-other-net-languages.html>

Does C# support a variable number of
arguments?<http://techinterview.weebly.com/6/post/2008/08/does-c-support-a-variable-number-of-arguments.html>

When should I throw an
exception?<http://techinterview.weebly.com/6/post/2008/08/when-should-i-throw-an-exception.html>

What types of object can I throw as
exceptions?<http://techinterview.weebly.com/6/post/2008/08/what-types-of-object-can-i-throw-as-exceptions.html>

Can I use exceptions in
C#?<http://techinterview.weebly.com/6/post/2008/08/can-i-use-exceptions-in-c.html>

Should I make my destructor
virtual?<http://techinterview.weebly.com/6/post/2008/08/should-i-make-my-destructor-virtual.html>
http://techinterview.weebly.com/c.html
Can I call a virtual method from a
constructor/destructor?<http://techinterview.weebly.com/6/post/2008/08/post-title-click-and-type-to-edit1.html>

How do I declare a pure virtual function in
C#?<http://techinterview.weebly.com/6/post/2008/08/how-do-i-declare-a-pure-virtual-function-in-c.html>

Are all methods virtual in
C#?<http://techinterview.weebly.com/6/post/2008/08/are-all-methods-virtual-in-c.html>
Are C# destructors the same as C++
destructors?<http://techinterview.weebly.com/6/post/2008/08/are-c-destructors-the-same-as-c-destructors.html>

Are C# constructors the same as C++
constructors?<http://techinterview.weebly.com/6/post/2008/08/are-c-constructors-the-same-as-c-constructors.html>

Structs are largely redundant in C++. Why does C# have
them?<http://techinterview.weebly.com/6/post/2008/08/structs-are-largely-redundant-in-c-why-does-c-have-them.html>

What are the fundamental differences between value types and reference
types?<http://techinterview.weebly.com/6/post/2008/08/what-are-the-fundamental-differences-between-value-types-and-reference-types.html>
http://techinterview.weebly.com/c.html
What is 
boxing?<http://techinterview.weebly.com/6/post/2008/08/what-is-boxing.html>

What is the use of fixed
statement?<http://techinterview.weebly.com/6/post/2008/08/what-is-the-use-of-fixed-statement.html>

What is the order of destructors called in a polymorphism
hierarchy?<http://techinterview.weebly.com/6/post/2008/08/what-is-the-order-of-destructors-called-in-a-polymorphism-hierarchy.html>

How can you sort the elements of the array in descending
order?<http://techinterview.weebly.com/6/post/2008/08/how-can-you-sort-the-elements-of-the-array-in-descending-order.html>

Is it possible to Override Private Virtual
methods.<http://techinterview.weebly.com/6/post/2008/08/is-it-possible-to-override-private-virtual-methods.html>
http://techinterview.weebly.com/c.html
What is the difference between shadow and
override?<http://techinterview.weebly.com/6/post/2008/08/what-is-the-difference-between-shadow-and-override.html>

What is the syntax to inherit from a class in
C#?<http://techinterview.weebly.com/6/post/2008/08/what-is-the-syntax-to-inherit-from-a-class-in-c.html>

Describe the accessibility modifier "protected
internal".<http://techinterview.weebly.com/6/post/2008/08/describe-the-accessibility-modifier-protected-internal.html>

What is a satellite
Assembly?<http://techinterview.weebly.com/6/post/2008/08/what-is-a-satellite-assembly.html>

How to declares a two-dimensional array in
C#?<http://techinterview.weebly.com/6/post/2008/08/how-to-declares-a-two-dimensional-array-in-c.html>
http://techinterview.weebly.com/c.html
What does it meant to say "the canonical" form of
XML?<http://techinterview.weebly.com/6/post/2008/08/what-does-it-meant-to-say-the-canonical-form-of-xml.html>

What is the difference between Java and .NET garbage
collectors?<http://techinterview.weebly.com/6/post/2008/08/what-is-the-difference-between-java-and-net-garbage-collectors.html>

Why do one get a syntax error when trying to declare a variable called
checked?<http://techinterview.weebly.com/6/post/2008/08/why-do-one-get-a-syntax-error-when-trying-to-declare-a-variable-called-checked.html>

When do you absolutely have to declare a class as abstract (as opposed to
free-willed educated choice or decision based on UML diagram)
?<http://techinterview.weebly.com/6/post/2008/08/when-do-you-absolutely-have-to-declare-a-class-as-abstract-as-opposed-to-free-willed-educated-choice-or-decision-based-on-uml-diagram.html>

What does the keyword virtual mean in the method definition
?<http://techinterview.weebly.com/6/post/2008/08/what-does-the-keyword-virtual-mean-in-the-method-definition.html>

What's the top .NET class that everything is derived from
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-top-net-class-that-everything-is-derived-from1.html>

How's method overriding different from overloading
?<http://techinterview.weebly.com/6/post/2008/08/hows-method-overriding-different-from-overloading1.html>
http://techinterview.weebly.com/c.html
C# provides a default constructor for me. I write a constructor that takes a
string as a parameter, but want to keep the no parameter one. How many
constructors should I
write<http://techinterview.weebly.com/6/post/2008/08/c-provides-a-default-constructor-for-me-i-write-a-constructor-that-takes-a-string-as-a-parameter-but-want-to-keep-the-no-parameter-one-how-many-constructors-should-i-write1.html>

When you inherit a protected class-level variable, who is it available
to<http://techinterview.weebly.com/6/post/2008/08/when-you-inherit-a-protected-class-level-variable-who-is-it-available-to.html>

Does C# support multiple inheritance
?<http://techinterview.weebly.com/6/post/2008/08/does-c-support-multiple-inheritance.html>

What's the implicit name of the parameter that gets passed into the class'
set method 
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-implicit-name-of-the-parameter-that-gets-passed-into-the-class-set-method1.html>

If A.equals(B) is true then A.getHashcode & B.getHashCode must always return
same hash 
code.<http://techinterview.weebly.com/6/post/2008/08/if-aequalsb-is-true-then-agethashcodebgethashcode-must-always-return-same-hash-code.html>

What is an indexer in
C#?<http://techinterview.weebly.com/6/post/2008/08/what-is-an-indexer-in-c.html>
http://techinterview.weebly.com/c.html
Why can't you specify the accessibility modifier for methods inside the
interface 
?<http://techinterview.weebly.com/6/post/2008/08/why-cant-you-specify-the-accessibility-modifier-for-methods-inside-the-interface.html>

How's the DLL Hell problem solved in .NET
?<http://techinterview.weebly.com/6/post/2008/08/hows-the-dll-hell-problem-solved-in-net1.html>

What's a delegate
?<http://techinterview.weebly.com/6/post/2008/08/whats-a-delegate1.html>

What's the C# equivalent of C++ catch (…), which was a catch-all statement
for any possible exception
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-c-equivalent-of-c-catchwhich-was-a-catch-all-statement-for-any-possible-exception1.html>

Will finally block get executed if the exception had not occurred
?<http://techinterview.weebly.com/6/post/2008/08/will-finally-block-get-executed-if-the-exception-had-not-occurred.html>

What's class SortedList underneath
?<http://techinterview.weebly.com/6/post/2008/08/whats-class-sortedlist-underneath.html>

What's the .NET datatype that allows the retrieval of data by a unique
key 
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-net-datatype-that-allows-the-retrieval-of-data-by-a-unique-key.html>

What's the difference between an interface and abstract class
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-difference-between-an-interface-and-abstract-class2.html>
http://techinterview.weebly.com/c.html
What are the ways to deploy an assembly
?<http://techinterview.weebly.com/6/post/2008/08/what-are-the-ways-to-deploy-an-assembly.html>

What's the implicit name of the parameter that gets passed into the class'
set method 
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-implicit-name-of-the-parameter-that-gets-passed-into-the-class-set-method.html>

What does Dispose method do with the connection object
?<http://techinterview.weebly.com/6/post/2008/08/what-does-dispose-method-do-with-the-connection-object.html>

What does the parameter Initial Catalog define inside Connection
String 
?<http://techinterview.weebly.com/6/post/2008/08/what-does-the-parameter-initial-catalog-define-inside-connection-string.html>

C# provides a default constructor for me. I write a constructor that takes a
string as a parameter, but want to keep the no parameter one. How many
constructors should I
write?<http://techinterview.weebly.com/6/post/2008/08/c-provides-a-default-constructor-for-me-i-write-a-constructor-that-takes-a-string-as-a-parameter-but-want-to-keep-the-no-parameter-one-how-many-constructors-should-i-write.html>

What's the data provider name to connect to Access database
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-data-provider-name-to-connect-to-access-database.html>
http://techinterview.weebly.com/c.html
What connections does Microsoft SQL Server support
?<http://techinterview.weebly.com/6/post/2008/08/what-connections-does-microsoft-sql-server-support.html>

Why would you use untrusted verificaion
?<http://techinterview.weebly.com/6/post/2008/08/why-would-you-use-untrusted-verificaion.html>

What's the role of the DataReader class in ADO.NET
connections<http://techinterview.weebly.com/6/post/2008/08/whats-the-role-of-the-datareader-class-in-adonet-connections.html>

What's the difference between the Debug class and Trace class
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-difference-between-the-debug-class-and-trace-class.html>

What does the This window show in the debugger
?<http://techinterview.weebly.com/6/post/2008/08/what-does-the-this-window-show-in-the-debugger.html>

What's the difference between and XML documentation tag
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-difference-between-and-xml-documentation-tag.html>

How do you generate documentation from the C# file commented properly with a
command-line compiler
?<http://techinterview.weebly.com/6/post/2008/08/how-do-you-generate-documentation-from-the-c-file-commented-properly-with-a-command-line-compiler.html>
http://techinterview.weebly.com/c.html
What's the difference between // comments, /* */ comments and ///
comments 
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-difference-betweencommentscomments-andcomments.html>

What namespaces are necessary to create a localized application
?<http://techinterview.weebly.com/6/post/2008/08/what-namespaces-are-necessary-to-create-a-localized-application.html>

What's a satellite assembly
?<http://techinterview.weebly.com/6/post/2008/08/whats-a-satellite-assembly1.html>

What's the difference between System.String and System.StringBuilder classes
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-difference-between-systemstring-and-systemstringbuilder-classes.html>

What's a satellite assembly
?<http://techinterview.weebly.com/6/post/2008/08/whats-a-satellite-assembly.html>

How's the DLL Hell problem solved in .NET
?<http://techinterview.weebly.com/6/post/2008/08/hows-the-dll-hell-problem-solved-in-net.html>

What's a multicast delegate
?<http://techinterview.weebly.com/6/post/2008/08/whats-a-multicast-delegate.html>

What's a delegate
?<http://techinterview.weebly.com/6/post/2008/08/whats-a-delegate.html>
http://techinterview.weebly.com/c.html
What's the C# equivalent of C++ catch (…), which was a catch-all statement
for any possible exception
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-c-equivalent-of-c-catchwhich-was-a-catch-all-statement-for-any-possible-exception.html>

What's the difference between the System.Array.CopyTo() and
System.Array.Clone()
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-difference-between-the-systemarraycopyto-and-systemarrayclone.html>

What's the advantage of using System.Text.StringBuilder over
System.String 
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-advantage-of-using-systemtextstringbuilder-over-systemstring.html>

What's the difference between an interface and abstract class
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-difference-between-an-interface-and-abstract-class.html>

Why can't you specify the accessibility modifier for methods inside the
interface 
?<http://techinterview.weebly.com/6/post/2008/08/why-cant-you-specify-the-accessibility-modifier-for-methods-inside-the-interface-they-all-must-be-public-therefore-to-prevent-you-from-getting-the-false-impression-that-you-have-any-freedom-of-choice-you-are-not-allowed-to-specify-any-accessibilit.html>

What's an interface class
?<http://techinterview.weebly.com/6/post/2008/08/whats-an-interface-class.html>
http://techinterview.weebly.com/c.html
What's an abstract class
?<http://techinterview.weebly.com/6/post/2008/08/whats-an-abstract-class.html>

How's method overriding different from overloading
?<http://techinterview.weebly.com/6/post/2008/08/hows-method-overriding-different-from-overloading.html>

What's the top .NET class that everything is derived from
?<http://techinterview.weebly.com/6/post/2008/08/whats-the-top-net-class-that-everything-is-derived-from.html>
http://techinterview.weebly.com/c.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AJAX_Tools" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ajax_tools?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to