You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a contractor, I frequently have to do interviews, so I thought it's about time I listed all the resources I use when I'm doing preparation. The best resource I've found is an online test that presents you 10 random .net multiple questions. It definitely helps jog the memory banks before an interview
Below lists a bunch of questions I've picked up from all over the web. I have lost references to each source.
Questions
What is C#?
How does one compare strings in C#?
How do you mark a method obsolete?
How do you directly call a native function exported from a DLL?
How do you implement thread synchronization (Object.Wait, Notify,and CriticalSection) in C#?
What is a strong name?
What is the difference between private and shared assembly?
How can you debug failed assembly binds?
How can you create a strong name for a .NET assembly?
What is delay signing?
How do I make a DLL in C#?
Does C# support properties of array types?
Is there regular expression (regex) support available to C# developers?
Is there a way to force garbage collection?
What connections does Microsoft SQL Server support?
How is method overriding different from overloading?
What is a satellite assembly?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
What optimizations does the C# compiler perform when you use the /optimize+ compiler option?
What is the difference between the System.Array.CopyTo() and System.Array.Clone()?
How do I declare inout arguments in C#?
What is the top .NET class that everything is derived from?
Can you inherit multiple interfaces?
Can you change the value of a variable while debugging a C# application?
Which one is trusted and which one is untrusted?
What namespaces are necessary to create a localized application?
How can I create a process that is running a supplied native executable?
What is the difference between const and static read-only?
Does Console.WriteLine() stop printing when it reaches a NULL character within a string?
What is the advantage of using System.Text.StringBuilder over System.String?
Why do I get a security exception when I try to run my C# app?
Is there any sample C# code for simple threading?
Does C# support templates?
Does C# support C type macros?
Why does my Windows application pop up a console window every time I run it?
What is the wildcard character in SQL?
What is a multicast delegate?
How does one compare strings in C#?
How do I get deterministic finalization in C#?
How do I convert a string to an int in C#?
What is the difference between a struct and a class in C#?
What is the .NET datatype that allows the retrieval of data by a unique key?
How can I get the ASCII code for a character in C#?
Is there an equivalent to the instanceof operator in Visual J++?
How do destructors and garbage collection work in C#?
How do you debug an ASP.NET Web application?
What is a delegate?
What is the difference between an interface and abstract class?
What is an abstract class?
What does the term immutable mean?
What is the difference between System.String and System.Text.StringBuilder classes?
What is the advantage of using System.Text.StringBuilder over System.String?
What is the difference between the System.Array.CopyTo() and System.Array.Clone()?
What is an interface class?
What is the syntax to inherit from a class in C#?
What is the difference between a Struct and a Class?
What is a multicast delegate?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
How do you debug an ASP.NET Web application?
What is the difference between imperative and interrogative code?
What are value types and reference types?
Are private class-level variables inherited?
What is the difference between a sub and a function?
What does the term immutable mean?
Are private class-level variables inherited?
Why does DllImport not work for me?
Why does my Windows application pop up a console window every time I run it?
Why do I get an error (CS1006) when trying to declare a method without specifying a return type?
Why do I get a syntax error when trying to declare a variable called checked?
Why do I get a security exception when I try to run my C# app?
Why do I get a CS5001: does not have an entry point defined error when compiling?
What optimizations does the C# compiler perform when you use the /optimize+ compiler option?
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
What is the equivalent to regsvr32 and regsvr32 /u a file in .NET development?
What is the difference between a struct and a class in C#?
My switch statement works differently than in C++! Why?
Is there regular expression (regex) support available to C# developers?
Is there any sample C# code for simple threading?
Is there an equivalent of exit() for quitting a C# .NET application?
Is there a way to force garbage collection?
Is there a way of specifying which block or loop to break out of when working with nested loops?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
What Is The .Net Framework?
What Are Some of the Main Components of The .Net Framework?
What Is an Il?
What Is the Manifest?
Which Method Do You Use to Enforce Garbage Collection In .Net?
What Is the Gac and What Is It Used For ?
Differentiate Between Managed and Unmanaged Code?
What Is the Difference Between a Namespace and an Assembly?
What Do All Objects Within .Net Inherit From?
What Is the Difference Between System.String and System.Stringbuilder Classes?
What Is the Difference Between Immutable and Mutable?
Describe the Roles of Clr In .Net Framework?
What Is the Difference Between Int and Int32?
What Does the "Read-only" Keyword in C# Mean?
Explain What Happens When You Pass a "Ref" Or "Out" Parameter into a Method?
What Does the "Volatile" Key Do?
What's the Difference Between a Static Method and a Non-static Method?
What's the Difference Between Protected and Internal?
What's the Difference Between View State and Session State?
Why Would You Use .Net Core?
What Is the Difference Between System.String and System.Stringbuilder Classes?
What Is the Difference Between a Thread and a Process?
What Is the Difference Between an Exe and a Dll?
What Is Strong-typing Versus Weak-typing?
What Is the Difference Between A.Equals(B) and a == B?
What Is Boxing?
Is String a Value Type or a Reference Type?
What Is Reflection?
What Is the Difference Between Early Binding and Late-binding?
How Is a Strongly-named Assembly Different from One That Isn’t Strongly-named?
What Is the Difference Between Debug.Write and Trace.Write?
What Is the Difference Between a Debug and Release Build?
What Is the Difference Between: Catch (Exception E) {Throw E;} And Catch (Exception E) {Throw;} ?
What Is the Difference Between Typeof(Foo) and Myfoo.Gettype()?
What Is Strong-typing Versus Weak-typing?
What Is the Difference Between A.Equals(B) and a == B?
What Is Boxing?
Is String a Value Type or a Reference Type?
What Is Reflection?
What Is the Difference Between Early Binding and Late-binding?