• Joy Agarwal posted in Information Technology: Feb 01, 2012

    Advanced Microsoft.NET C# questions collected from interviewers.

    How do you get the return type of a delegate type through reflection?
    What is managed and unmanaged code?
    What is the Purpose of exceptions?
    What’s the difference between ”(myObject)something” and ”something As myObject” in C#?
    How do you get the return value of DispatcherOperation inside the callback
    How do you select a desired row in a grouped result using c#
    How to do some performance testing in asp.net mvc?
    What is the difference between Count and Count() in observable collections in C#?
    What is the purpose of IEnumerator
    How do you check if the game was closed?
    How do you get the route user\22\edit in ASP.NET MVC
    How do you select a random value from an enumeration?
    How to do something when a job finished (IAsyncResult)
    How to do data entry to a collection?

    what is mean by connection.Dispose()? in c#.net
    What is the purpose of new() when defining a generic?
    How do you check if the scanner is plugged in C#
    How do you Get the Selected DataRow in a DataGridView?
    How do you select a specified row in a linq list?
    How to do string comparison with wildcard pattern in C#
    What is meant by Web Services?
    What is the purpose of Package Relationships in .NET?
    How do you check if the usera gent is an ipad or iphone?
    How do you get the site source code as a registered user using c#?
    How do you select a TreeNode by name?
    how to do subquery in LINQ

    What is the purpose of Regex.Escape?
    What is KSP and CSP
    How do you check to see if a list index exists in C#?
    How do you get the SOAP headers as XML?
    How do you select the target framework of a CodeDom compiler using C#?
    What is the purpose of return statement in C# programs
    Changing what a property is serialized as
    How do you check whether a given USB device is plugged in?
    How do you get the start index and number of visible items in a ListView?
    How do you select the value that occurs most frequently in queue via LINQ?
    How to do template specialization in C#
    What is Mocking?

    What is the purpose of the byte array in AssemblyBuilder.SetCustomAttribute
    Char.IsDigit() vs Char.IsNumber(), what’s the difference?
    How do you check whether or not open windows completely occlude the desktop?
    How do you get the subscribers of an event?
    How do you select tokens from a string using LINQ?
    How to do that Gradient Color Generator?
    What is the purpose of the tilde in this situation?
    Check that integer type belongs to enum member
    How do you checkout a single file (not folder) from the SVN repository?
    How do you get the Threads window in VisualStudio2008?
    How do you send `MailMessage` that was stored in a `SpecifiedPickupDirectory`
    How do you sort a C# dictionary by value?

    What is the purpose of ’this’ keyword in C#
    How do you document a c# dll
    How do you chose the most appropriate type of exception to throw?
    How do you send a C# file in Visual Studio C# 2008 express edition along with the database in one zip file?
    How to do things within a windows service?
    How do you get the dates of even and the odd weeks by using C#
    What is the purpose of ’volatile’ keyword in C#
    class – Method vs Property in what’s the difference
    How do you clear a System.Runtime.Caching.MemoryCache
    #csharp, #interview