<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUUGRX44fyp7ImA9WhRVFkk.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377</id><updated>2012-01-15T09:07:04.037-08:00</updated><category term="C# .NET SQL Interview Questions" /><title>ASP.Net Nova</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://aspnetnova.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://aspnetnova.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>145</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/AspnetNova" /><feedburner:info uri="aspnetnova" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUUGRX4_eyp7ImA9WhRVFkk.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-87435988150101411</id><published>2012-01-15T09:07:00.001-08:00</published><updated>2012-01-15T09:07:04.043-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-15T09:07:04.043-08:00</app:edited><title>Interview Questions &amp; Answers : C#,.Net,SQL,MVC,WCF</title><content type="html">&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;b&gt;&lt;i&gt;Q. Why we use&lt;/i&gt;&lt;/b&gt; “new” keyword for a function.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&amp;gt; To override the function.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&amp;gt; To create the new instances of an object.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;Q. Explain DRY&lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;Q. What is KISS&lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;Q. What is attribute programming in c#, how to do it.?&lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;Q. difference between IQuerable and IEnumerable ?&lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;Q. Comapre Arraylist and List. Explain Generics.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt; &lt;p&gt;&lt;br&gt;&lt;/b&gt;&lt;font size="2"&gt;&lt;u&gt;Q.&lt;/u&gt;&lt;b&gt;How’s method overriding different from overloading? &lt;/b&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;font size="2"&gt;Q.&lt;b&gt;Can you prevent your class from being inherited and becoming a base class for some other classes?&lt;/b&gt; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Yes, that’s what keyword sealed in the class definition is for. The developer trying to derive from your class will get a message: cannot inherit from Sealed class WhateverBaseClassName. It’s the same concept as final class in Java.&lt;br&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Q..&lt;b&gt;Where do the reference-type variables go in the RAM? &lt;/b&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;The references go on the stack, while the objects themselves go on the heap. However, &lt;/font&gt;&lt;a href="http://www.yoda.arachsys.com/csharp/memory.html"&gt;&lt;font size="2"&gt;in reality things are more elaborate&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;font size="2"&gt;Q.. &lt;b&gt;What is the difference between the value-type variables and reference-type variables in terms of garbage collection?&lt;/b&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;The value-type variables are not garbage-collected, they just fall off the stack when they fall out of scope, the reference-type objects are picked up by GC when their references go null.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;b&gt;&lt;font size="2"&gt;Q.How do you convert a string into an integer in .NET? &lt;/font&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Int32.Parse(string), Convert.ToInt32()&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;b&gt;&lt;font size="2"&gt;&lt;i&gt;&lt;u&gt;Q.&lt;/u&gt;&lt;/i&gt;Can you declare a C++ type destructor in C# like ~MyClass()? &lt;/font&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Yes, but what’s the point, since it will call Finalize(), and Finalize() has no guarantees when the memory will be cleaned up, plus, it introduces additional load on the garbage collector. The only time the finalizer should be implemented, is when you’re dealing with unmanaged code.&lt;br&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;font size="2"&gt;&lt;i&gt;&lt;u&gt;Q..&lt;/u&gt;&lt;/i&gt;What’s the difference between const and readonly?&lt;/font&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;You can initialize readonly variables to some runtime values. Let’s say your program uses current date and time as one of the values that won’t change. This way you declare&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;i&gt;&lt;font size="2"&gt;public readonly string DateT = new DateTime().ToString().&lt;/font&gt;&lt;/i&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="2"&gt;Q..what is Yield :&lt;/font&gt;&lt;/strong&gt; &lt;p&gt;&lt;font size="2"&gt; Another often overlooked C# statement that was introduced in .NET 2.0 is &lt;b&gt;yield&lt;/b&gt;. This keyword is used to return items from a loop within a method and retain the state of the method through multiple calls. &lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. What is C#.NET Generics?&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;The classes and the methods can treat the values of different types uniformly with the use if generics.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;The usage of generics is advantageous as:&lt;/font&gt; &lt;ul&gt; &lt;li&gt;&lt;font size="2"&gt;They facilitate type safety&lt;/font&gt; &lt;li&gt;&lt;font size="2"&gt;They facilitate improved performance&lt;/font&gt; &lt;li&gt;&lt;font size="2"&gt;They facilitate reduced code&lt;/font&gt; &lt;li&gt;&lt;font size="2"&gt;They promote the usage of parameterized types&lt;/font&gt; &lt;li&gt;&lt;font size="2"&gt;The CLR compiles and stores information related to the generic types when they are instantiated. (The generic type instance refers to the location in memory of the reference type to which it is bound for all the instances of the generic type.)&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. What is the difference between const and readonly in C#.NET?&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;The read only can be modified by the class it is contained in. However, the const cannot be modified. It needs to be instantiated only at the compile time.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Q. What is Constructor Chaining?&lt;/strong&gt;&lt;br&gt;We can chain the call of constructor from child class to base class depending on our requirement. This concept makes sure that the matching base class constructor must be called based on the parameter passed to the child class constructor.&lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. What is the difference between Finalize() and Dispose()?&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;Dispose() is called by as an indication for an object to release any unmanaged resources it has held.&lt;br&gt;Finalize() is used for the same purpose as dispose however finalize doesn’t assure the garbage collection of an object.&lt;br&gt;Dispose() operates determinalistically due to which it is generally preferred.&lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. How does the XmlSerializer work? What ACL permissions does a process using it require?&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;The XmlSerializer constructor generates a pair of classes derived from XmlSerializationReader and XmlSerializationWriter by analysis of the classes using reflection.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;Temporary C# files are created and compiled into a temporary assembly and then loaded into a process.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;The XmlSerializer caches the temporary assemblies on a per-type basis as the code generated like this is expensive. This cached assembly is used after a class is created. Therefore the XmlSerialize requires full permissions on the temporary directory which is a user profile temp directory for windows applications&lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. What are circular references? Explain how garbage collection deals with circular references.&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;A circular reference is a run-around wherein the 2 or more resources are interdependent on each other rendering the entire chain of references to be unusable.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;There are quite a few ways of handling the problem of detecting and collecting cyclic references.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;1. A system may explicitly forbid reference cycles.&lt;br&gt;2. Systems at times ignore cycles when they have short lives and a small amount of cyclic garbage. In this case a methodology of avoiding cyclic data structures is applied at the expense of efficiency.&lt;br&gt;3. Another solution is to periodically use a tracing garbage collector cycles.&lt;br&gt;Other types of methods to deal with cyclic references are:&lt;br&gt;•Weighted reference counting&lt;br&gt;•Indirect reference counting&lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. Describe the accessibility modifier "protected internal" in C#.&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;The Protected Internal access modifier can be accessed by:&lt;br&gt;Members of the Assembly&lt;br&gt;The inheriting class&lt;br&gt;The class itself&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;Its access is limited to the types derived from the defining class in the current assembly or the assembly itself.&lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. Explain the use of virtual, sealed, override, and abstract.&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;The virtual keyword enables a class to be overridden. If it has to be prevented from being overridden, then the sealed keyword needs to be used. If the keyword virtual is not used, members of the class can even then be overridden. However, its usage is advised for making the code meaningful.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;The override keyword is used to override the virtual method in the base class. Abstract keyword is used to modify a class, method or property declaration. You cannot instantiate an abstract class or make calls to an abstract method directly.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;An abstract virtual method means that the definition of the method needs to be given in the derived class.&lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. Explain the use of static members with example using C#.NET.&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;Static members are not associated with a particular instance of any class.&lt;br&gt;They need to be qualified with the class name to be called.&lt;br&gt;Since they are not associated with object instances, they do not have access to non-static members.&lt;br&gt;i.e.: "this" cannot be used, which represents the current object instance.&lt;/font&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. How to achieve polymorphism in C#.NET?&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;Polymorphism is when a class can be used as more than one type through inheritance. It can be used as its own type, any base types, or any interface type if it implements interfaces.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;It can be achieved in the following ways:&lt;br&gt;Derived class inherits from a base class and it gains all the methods, fields, properties and events of the base class.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;To completely take over a class member from a base class, the base class has to declare that member as virtual.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Q. What is Constructor Chaining?&lt;/strong&gt;&lt;br&gt;We can chain the call of constructor from child class to base class depending on our requirement. This concept makes sure that the matching base class constructor must be called based on the parameter passed to the child class constructor.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;Q. &lt;b&gt;What is ref parameter? What is out parameter?&lt;/b&gt;&lt;br&gt;&lt;b&gt;Ref Parameter:&lt;/b&gt; Used to pass a parameter as a reference so that the function called will set the value. This could be used to return more than 1 value by a function.&lt;br&gt;e.g.&lt;br&gt;public int AddMuliply( int a , int b, ref int c)&lt;br&gt;{&lt;br&gt;c = a*b;&lt;br&gt;return ( a+b);&lt;br&gt;}&lt;br&gt;The above function, returns the addition of two numbers as well as computes the multiplication result and passes to the calling function.&lt;br&gt;&lt;b&gt;Out Parameter:&lt;/b&gt; Used to pass values from the aspx Code-behind to the aspx page.&lt;br&gt;The difference is that for a ref parameter, you have to assign a value before you call the function, while for OUT parameter, you dont have to assign a value, the calling function assumes that the called function would assign some value.&lt;br&gt;A &lt;b&gt;ref parameter&lt;/b&gt; 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 when we pass a parameter as ref to a method, the method refers to the same variable and changes made will affect the actual variable.&lt;br&gt;even the variable passed as out parameter is same as ref parameter, but implementation in c# is different, Arguement passed as ref parameter must be initialized before it is passed to the method. But in case of out parameter it is not necessary. But after a call to a method as out parameter it is necessary to initialize.&lt;br&gt;When to use out and ref parameter, out parameter is used when we want to return more than one value from a method. Ref parameter can be used as both input and o/p parameter out parameter can be used as only output parameter.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;br&gt;Q. &lt;b&gt;Why multiple Inheritance is not possible in C#?&lt;/b&gt;&lt;br&gt;Multple inheritance is coneceptually wrong. It shouldn't be allowed in any language. Inheritance is the strongest relationship that can be expressed in OO languages.&lt;br&gt;It's used to express IS-A relationship. Aggregation is used to express IS CONSTRUCTED IN TERMS OF. If you're using multiple inheritance in C++ then you're design is wrong and you probably want to use aggregation. On the other hand it's plausible to want to use multiple interfaces. For instance you might have a class wheel and a class engine. You could say that your class car inherits from wheel and from engine but that's wrong. In fact car aggregates wheel and engine because it is built in terms of those classes. If wheel is an interface and engine is an interface then car must inherit both of these interfaces since it must implement the functionaity of wheel and engine .On this basis we can see that multiple inheritance for classes should not be allowed because it promotes mis-use of the strong IS-A relationship. C# enforces the correct concepts whilst C++ allows mis-use. multiple interface inheritance is permissible and C# allows this. It's all to do with properly understanding OO concepts.&lt;br&gt;&lt;b&gt;Absolute Multiple Inheritance&lt;/b&gt; is not possible in c# but partially it supports multiple inheritance by the use of Interfaces. As interfaces force a class to implement same type of behaviour (as defined in interface) which classes implements that interface&lt;/font&gt;&lt;/p&gt; &lt;h6&gt;&lt;font size="2"&gt;Q. How to prevent a class from being inherited in C#.NET?&lt;/font&gt;&lt;/h6&gt; &lt;p&gt;&lt;font size="2"&gt;The sealed modifier is used to prevent derivation from a class. An error occurs if a sealed class is specified as the base class of another class. A sealed class cannot also be an abstract class&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Q. Difference between a Class and Component?&lt;/strong&gt;&lt;br&gt;Class is a datatype that encloses data and function members.&lt;br&gt;It can be used for implementing the various OOPS features.&lt;br&gt;Component is a particular class that must implement the IComponent interface .It is the base class for all components in the common language runtime that marshal by reference. Component is remotable and derives from the MarshalByRefObject class.&lt;br&gt;IComponent interface belongs to System.ComponentModel namespace.&lt;br&gt;So, we can say Component is subclassification of a class&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Q. What does the modifier protected internal in C# mean?&lt;/strong&gt;&lt;br&gt;The Protected Internal can be accessed by Members of the Assembly or the inheriting class, and of course, within the class itself.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Q. What is polymorphism?&lt;/strong&gt;&lt;br&gt;Polymorphism means allowing a single definition to be used with different types of data (specifically, different classes of objects). For example, a polymorphic function definition can replace several type-specific ones, and a single polymorphic operator can act in expressions of various types. Many programming languages implement some forms of polymorphism.&lt;br&gt;The concept of polymorphism applies to data types in addition to functions. A function that can evaluate to and be applied to values of different types is known as a polymorphic function. A data type that contains elements of different types is known as a polymorphic data type.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Q. What is a static constructor?&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;b&gt;&lt;br&gt;&lt;/b&gt;&lt;font size="2"&gt;Static Constructor - It is a special type of constructor, introduced with C#. It gets called before the creation of the first object of a class(probably at the time of loading an assembly).&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Q. What is the difference between out and ref in C#?&lt;/strong&gt;&lt;br&gt;1) out parameters return compiler error if they are not assigned a value in the method. Not such with ref parameters.&lt;br&gt;2) out parameters need not be initialized before passing to the method, whereas ref parameters need to have an initial value before they are passed to a method.&lt;/font&gt; &lt;p&gt;&lt;u&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/u&gt; &lt;h5&gt;&lt;u&gt;&lt;font color="#000000"&gt;Q. &lt;/font&gt;&lt;/u&gt;&lt;a href="http://venkatcsharpinterview.blogspot.com/2011/08/whats-difference-between-ienumerable.html"&gt;&lt;font color="#000000"&gt;What's the difference between IEnumerable&amp;lt;T&amp;gt; and List&amp;lt;T&amp;gt; ?&lt;/font&gt;&lt;/a&gt;&lt;u&gt;&lt;/u&gt;&lt;/h5&gt; &lt;p&gt;&lt;font size="2"&gt;1. &lt;strong&gt;IEnumerable&lt;/strong&gt; is an interface, where as &lt;strong&gt;List&lt;/strong&gt; is one specific implementation of IEnumerable. List is a class.&lt;br&gt;2. FOR-EACH loop is the only possible way to iterate through a collection of &lt;strong&gt;IEnumerable&lt;/strong&gt;, where as &lt;strong&gt;List&lt;/strong&gt; can be iterated using several ways. List can also be indexed by an int index, element can be added to and removed from and have items inserted at a particular index.&lt;br&gt;3. &lt;strong&gt;IEnumerable&lt;/strong&gt; doesn't allow random access, where as &lt;strong&gt;List&lt;/strong&gt; does allow random access using integral index.&lt;br&gt;4. In general from a performance standpoint, iterating thru &lt;strong&gt;IEnumerable&lt;/strong&gt; is much faster than iterating thru a &lt;strong&gt;List&lt;/strong&gt;.&lt;/font&gt; &lt;h5&gt;Q. LINQ interview questions: -What is the difference between LINQ to SQL and Entity framework?&lt;/h5&gt; &lt;p&gt;&lt;font size="2"&gt;Following is the LINQ interview questions asked in an interview: -&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;• &lt;/font&gt;&lt;a href="http://computerauthor.blogspot.com/2011/10/linq-interview-questions-what-is.html"&gt;&lt;font size="2"&gt;LINQ to SQL&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; is good for rapid development with SQL Server. EF is for enterprise scenarios and works with SQL server as well as other databases.&lt;br&gt;• LINQ maps directly to tables. One LINQ entity class maps to one table. EF has a conceptual model and that conceptual model map to storage model via mappings. So one EF class can map to multiple tables or one table can map to multiple classes.&lt;br&gt;• LINQ is more targeted towards rapid development while EF is for enterprise level where the need is to develop loosely coupled framework.&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;b&gt;9. Delegtes and Events:&lt;/b&gt;&lt;br&gt;An interesting and useful property of a delegate is that it does not know or care about the class of the object that it references. &lt;br&gt;public delegate void SimpleDelegate ()&lt;br&gt;A delegate will allow us to specify what the function we'll be calling &lt;i&gt;looks like&lt;/i&gt; without having to specify &lt;i&gt;which&lt;/i&gt;function to call.&lt;br&gt;Delegate and Event concepts are completely tied together. &lt;b&gt;Delegates&lt;/b&gt; are just function pointers, That is, they hold references to functions.&lt;br&gt;A Delegate is a class. When you create an instance of it, you pass in the function name (as a parameter for the delegate's constructor) to which this delegate will refer.&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-87435988150101411?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OExTqRiaBJJjOiIsFXscE0MUDEU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OExTqRiaBJJjOiIsFXscE0MUDEU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OExTqRiaBJJjOiIsFXscE0MUDEU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OExTqRiaBJJjOiIsFXscE0MUDEU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/uuDJsFiVwUg" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/87435988150101411?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/87435988150101411?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/uuDJsFiVwUg/interview-questions-answers.html" title="Interview Questions &amp;amp; Answers : C#,.Net,SQL,MVC,WCF" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2012/01/interview-questions-answers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIHQHY-cCp7ImA9WhRVEU0.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-902818497852583373</id><published>2012-01-09T00:35:00.001-08:00</published><updated>2012-01-09T02:22:11.858-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-09T02:22:11.858-08:00</app:edited><title>Asp.net C# .Net SQL MVC WCF Q&amp;A</title><content type="html">&lt;p style="text-align: justify;"&gt;&lt;span style="font-family: 'book antiqua', palatino; color: #000000;"&gt;&lt;strong style="color: #800080;"&gt;Q. Explain Manifest and Metadata of an Assembly&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-family: 'book antiqua', palatino; color: #000000;"&gt;&lt;strong style="color: #800080;"&gt;&lt;/strong&gt;&lt;strong style="color: #4f81bd; font-family: Calibri; line-height: 18px; background-color: #ffffff; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong style="color: #0000ff; font-size: large; font-family: Calibri; background-color: #ffffff; line-height: 18px;"&gt;Manifest&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-family: 'book antiqua', palatino; color: #000000;"&gt;&lt;strong style="color: #0000ff; font-size: large; font-family: Calibri; background-color: #ffffff; line-height: 18px;"&gt;&lt;/strong&gt;&lt;span style="font-size: small; background-color: #ffffff; line-height: 18px;"&gt;Every assembly, whether static or dynamic, contains a &lt;/span&gt;&lt;span style="font-size: small; background-color: #ffffff; line-height: 18px;"&gt;collection of data that describes how the elements in the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="line-height: 18px; background-color: #ffffff;"&gt;&lt;span style="font-size: small; font-family: 'book antiqua', palatino; color: #000000;"&gt;assembly relate to each other. The assembly manifest contains this assembly metadata. An assembly manifest &lt;br /&gt;contains all the metadata needed to specify the assembly's version requirements and security identity, and all &lt;br /&gt;metadata needed to define the scope of the assembly and resolve references to resources and classes. The assembly &lt;br /&gt;manifest can be stored in either a PE file (an .exe or .dll) with Microsoft intermediate language (MSIL) code &lt;br /&gt;or in a standalone PE file that contains only assembly manifest information.&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="color: #222222; font-size: 13px; line-height: 18px; background-color: #ffffff;"&gt;&lt;span style="font-size: small; font-family: 'book antiqua', palatino; color: #000000;"&gt;Metadata&lt;br /&gt;Metadata is binary information describing your program that is stored either in a common language runtime portable &lt;br /&gt;executable (PE) file or in memory. When you compile your code into a PE file, metadata is inserted into one portion &lt;br /&gt;of the file, while your code is converted to Microsoft intermediate language (MSIL) and inserted into another &lt;br /&gt;portion of the file. Every type and member defined and referenced in a module or assembly is described within &lt;br /&gt;metadata. When code is executed, the runtime loads metadata into memory and references it to discover information about &lt;br /&gt;your code's classes, members, inheritance, and so on.&lt;/span&gt;&lt;/pre&gt;&lt;pre style="color: #222222; font-size: 13px; line-height: 18px; background-color: #ffffff;"&gt;&lt;span style="font-size: small; font-family: 'book antiqua', palatino; color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="color: #222222; font-size: 13px; line-height: 18px; background-color: #ffffff;"&gt;&lt;span style="font-size: small; font-family: 'book antiqua', palatino; color: #000000;"&gt;&lt;br /&gt;&lt;strong style="color: #800080;"&gt;Q. What are Generics&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="color: #222222; font-size: 13px; line-height: 18px; background-color: #ffffff;"&gt;&lt;span style="font-size: small; font-family: 'book antiqua', palatino; color: #000000;"&gt;&lt;strong style="color: #800080;"&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="color: #222222; font-size: 13px; line-height: 18px; background-color: #ffffff;"&gt;&lt;span style="color: #666666; font-family: tahoma, arial, helvetica, sans-serif; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-902818497852583373?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wZwAU7odpegbOrdDiwRtHpflrqo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wZwAU7odpegbOrdDiwRtHpflrqo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wZwAU7odpegbOrdDiwRtHpflrqo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wZwAU7odpegbOrdDiwRtHpflrqo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/gAY4hMrGrgc" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/902818497852583373?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/902818497852583373?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/gAY4hMrGrgc/aspnet-c-net-sql-mvc-wcf-q.html" title="Asp.net C# .Net SQL MVC WCF Q&amp;amp;A" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2012/01/aspnet-c-net-sql-mvc-wcf-q.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04ARH06fCp7ImA9WhRVEEQ.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-8024435636254117306</id><published>2012-01-08T22:52:00.001-08:00</published><updated>2012-01-08T22:52:25.314-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-08T22:52:25.314-08:00</app:edited><title>Explain Manifest and Metadata of an Assembly</title><content type="html">&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://aspnetnova.blogspot.com/2012/01/explain-manifest-and-metadata-of.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;pre&gt;&lt;font color="#666666" size="2" face="Calibri"&gt;&lt;font color="#0000ff" size="4"&gt;&lt;strong&gt;Manifest&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;Every assembly, whether static or dynamic, contains a &lt;br /&gt;collection of data that describes how the elements in the &lt;br /&gt;assembly relate to each other. The assembly manifest &lt;br /&gt;contains this assembly metadata. An assembly manifest &lt;br /&gt;contains all the metadata needed to specify the assembly's &lt;br /&gt;version requirements and security identity, and all &lt;br /&gt;metadata needed to define the scope of the assembly and &lt;br /&gt;resolve references to resources and classes. The assembly &lt;br /&gt;manifest can be stored in either a PE file (an .exe &lt;br /&gt;or .dll) with Microsoft intermediate language (MSIL) code &lt;br /&gt;or in a standalone PE file that contains only assembly &lt;br /&gt;manifest information.&lt;br /&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font color="#666666" size="2" face="Calibri"&gt;&lt;strong&gt;&lt;font color="#0000ff" size="4"&gt;Metadata&lt;/font&gt;&lt;/strong&gt;&lt;br /&gt;Metadata is binary information describing your program that &lt;br /&gt;is stored either in a common language runtime portable &lt;br /&gt;executable (PE) file or in memory. When you compile your &lt;br /&gt;code into a PE file, metadata is inserted into one portion &lt;br /&gt;of the file, while your code is converted to Microsoft &lt;br /&gt;intermediate language (MSIL) and inserted into another &lt;br /&gt;portion of the file. Every type and member defined and &lt;br /&gt;referenced in a module or assembly is described within &lt;br /&gt;metadata. When code is executed, the runtime loads metadata &lt;br /&gt;into memory and references it to discover information about &lt;br /&gt;your code's classes, members, inheritance, and so on.&lt;/font&gt;&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-8024435636254117306?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ViTiT6iwGxF3CokdOO4RBsjrBhE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ViTiT6iwGxF3CokdOO4RBsjrBhE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ViTiT6iwGxF3CokdOO4RBsjrBhE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ViTiT6iwGxF3CokdOO4RBsjrBhE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/J81Tx45E1Lo" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/8024435636254117306?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/8024435636254117306?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/J81Tx45E1Lo/explain-manifest-and-metadata-of.html" title="Explain Manifest and Metadata of an Assembly" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2012/01/explain-manifest-and-metadata-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIHSXc6fSp7ImA9WhRWEUk.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-8976742508692282899</id><published>2011-12-29T00:15:00.001-08:00</published><updated>2011-12-29T00:15:38.915-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-29T00:15:38.915-08:00</app:edited><title>Explian metadata and Manifest of an Assembly</title><content type="html">&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://aspnetnova.blogspot.com/2011/12/explian-metadata-and-manifest-of.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt; &lt;p&gt;Manifest: Manifest describes assembly itself. Assembly Name, version number, culture, strong name, list of all files, Type references, and referenced assemblies.&lt;br&gt;Metadata: Metadata describes contents in an assembly classes, interfaces, enums, structs, etc., and their containing namespaces, the name of each type, its visibility/scope, its base class, the nterfaces it implemented, its methods and their scope, and each method?s parameters, type?s properties, and so on. &lt;/b&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-8976742508692282899?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nwh0NQY93nKEHXrEdxDyrRN298g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nwh0NQY93nKEHXrEdxDyrRN298g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nwh0NQY93nKEHXrEdxDyrRN298g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nwh0NQY93nKEHXrEdxDyrRN298g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/7N582D2QVV4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/8976742508692282899?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/8976742508692282899?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/7N582D2QVV4/explian-metadata-and-manifest-of.html" title="Explian metadata and Manifest of an Assembly" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/explian-metadata-and-manifest-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUGRHg4eip7ImA9WhRXEUQ.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-5765902876036912903</id><published>2011-12-17T22:37:00.001-08:00</published><updated>2011-12-17T22:37:05.632-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:37:05.632-08:00</app:edited><title>How’s method overriding different from overloading?</title><content type="html">&lt;p&gt;When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-5765902876036912903?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/EIPnRZmR-PFjCgWnehI7Vqyn3Bc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EIPnRZmR-PFjCgWnehI7Vqyn3Bc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/EIPnRZmR-PFjCgWnehI7Vqyn3Bc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EIPnRZmR-PFjCgWnehI7Vqyn3Bc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/VZi7CTUTNXk" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/5765902876036912903?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/5765902876036912903?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/VZi7CTUTNXk/hows-method-overriding-different-from.html" title="How’s method overriding different from overloading?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/hows-method-overriding-different-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUFRHc_fSp7ImA9WhRXEUQ.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-3982515926276999892</id><published>2011-12-17T22:36:00.009-08:00</published><updated>2011-12-17T22:36:55.945-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:36:55.945-08:00</app:edited><title>Can you prevent your class from being inherited and becoming a base class for some other classes?</title><content type="html">&lt;p&gt;Yes, that’s what keyword sealed in the class definition is for. The developer trying to derive from your class will get a message: cannot inherit from Sealed class WhateverBaseClassName. It’s the same concept as final class in Java.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-3982515926276999892?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/EdFFzZO8dhvbgYCEO8QWvLQwDiQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EdFFzZO8dhvbgYCEO8QWvLQwDiQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/EdFFzZO8dhvbgYCEO8QWvLQwDiQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EdFFzZO8dhvbgYCEO8QWvLQwDiQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/veAYIdsMpQQ" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3982515926276999892?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3982515926276999892?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/veAYIdsMpQQ/can-you-prevent-your-class-from-being.html" title="Can you prevent your class from being inherited and becoming a base class for some other classes?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/can-you-prevent-your-class-from-being.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUER3c-fCp7ImA9WhRXEUQ.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-1194021021870970866</id><published>2011-12-17T22:36:00.007-08:00</published><updated>2011-12-17T22:36:46.954-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:36:46.954-08:00</app:edited><title>Where do the reference-type variables go in the RAM?</title><content type="html">&lt;p&gt;The references go on the stack, while the objects themselves go on the heap. However, &lt;a href="http://www.yoda.arachsys.com/csharp/memory.html"&gt;in reality things are more elaborate&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-1194021021870970866?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7tbgHoGZsyuaHHbYeKQ5Ov1ZVP0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7tbgHoGZsyuaHHbYeKQ5Ov1ZVP0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7tbgHoGZsyuaHHbYeKQ5Ov1ZVP0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7tbgHoGZsyuaHHbYeKQ5Ov1ZVP0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/dEWkApDW_TI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1194021021870970866?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1194021021870970866?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/dEWkApDW_TI/where-do-reference-type-variables-go-in.html" title="Where do the reference-type variables go in the RAM?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/where-do-reference-type-variables-go-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYNRHg6eip7ImA9WhRXEUQ.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-6042568015108817594</id><published>2011-12-17T22:36:00.005-08:00</published><updated>2011-12-17T22:36:35.612-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:36:35.612-08:00</app:edited><title>What is the difference between the value-type variables and reference-type variables in terms of garbage collection?</title><content type="html">&lt;p&gt;The value-type variables are not garbage-collected, they just fall off the stack when they fall out of scope, the reference-type objects are picked up by GC when their references go null.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-6042568015108817594?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/05lVpLA9KXiEOxH8gpzRFQzjzzE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/05lVpLA9KXiEOxH8gpzRFQzjzzE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/05lVpLA9KXiEOxH8gpzRFQzjzzE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/05lVpLA9KXiEOxH8gpzRFQzjzzE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/tjnMA1BICJg" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/6042568015108817594?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/6042568015108817594?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/tjnMA1BICJg/what-is-difference-between-value-type.html" title="What is the difference between the value-type variables and reference-type variables in terms of garbage collection?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-difference-between-value-type.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYDSXk_cSp7ImA9WhRXEUQ.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-5356284276095840611</id><published>2011-12-17T22:36:00.003-08:00</published><updated>2011-12-17T22:36:18.749-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:36:18.749-08:00</app:edited><title>How do you convert a string into an integer in .NET?</title><content type="html">&lt;p&gt;Int32.Parse(string), Convert.ToInt32()&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-5356284276095840611?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v5liwqD_taZX1sj121JED_ngB9k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v5liwqD_taZX1sj121JED_ngB9k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v5liwqD_taZX1sj121JED_ngB9k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v5liwqD_taZX1sj121JED_ngB9k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/SXCwGlYlGXI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/5356284276095840611?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/5356284276095840611?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/SXCwGlYlGXI/how-do-you-convert-string-into-integer.html" title="How do you convert a string into an integer in .NET?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/how-do-you-convert-string-into-integer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYBRnoyeyp7ImA9WhRXEUQ.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-400544534146391213</id><published>2011-12-17T22:35:00.001-08:00</published><updated>2011-12-17T22:35:57.493-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:35:57.493-08:00</app:edited><title>What’s the difference between const and readonly?</title><content type="html">&lt;p&gt;You can initialize readonly variables to some runtime values. Let’s say your program uses current date and time as one of the values that won’t change. This way you declare  &lt;p&gt;&lt;i&gt;public readonly string DateT = new DateTime().ToString().&lt;/i&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-400544534146391213?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/u3v2B2J0wAS3hMKx2-hBgs7l6vY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u3v2B2J0wAS3hMKx2-hBgs7l6vY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/u3v2B2J0wAS3hMKx2-hBgs7l6vY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u3v2B2J0wAS3hMKx2-hBgs7l6vY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/1GnuZF37_o8" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/400544534146391213?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/400544534146391213?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/1GnuZF37_o8/whats-difference-between-const-and.html" title="What’s the difference between const and readonly?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/whats-difference-between-const-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EEQ3s5eip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-1068024771071332690</id><published>2011-12-17T22:26:00.007-08:00</published><updated>2011-12-17T22:26:42.522-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:26:42.522-08:00</app:edited><title>What is a yield in C#?</title><content type="html">&lt;p&gt;Another often overlooked C# statement that was introduced in .NET 2.0 is &lt;b&gt;yield&lt;/b&gt;. This keyword is used to return items from a loop within a method and retain the state of the method through multiple calls. &lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-1068024771071332690?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Mxn-jOjfgTivsg7FEXD4L0TDVjM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mxn-jOjfgTivsg7FEXD4L0TDVjM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Mxn-jOjfgTivsg7FEXD4L0TDVjM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mxn-jOjfgTivsg7FEXD4L0TDVjM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/HZNKHDHPwos" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1068024771071332690?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1068024771071332690?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/HZNKHDHPwos/what-is-yield-in-c.html" title="What is a yield in C#?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-yield-in-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0INQXYyfip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-6769134168199183081</id><published>2011-12-17T22:26:00.005-08:00</published><updated>2011-12-17T22:26:30.896-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:26:30.896-08:00</app:edited><title>What is C#.NET Generics?</title><content type="html">&lt;p&gt;The classes and the methods can treat the values of different types uniformly with the use if generics.  &lt;p&gt;The usage of generics is advantageous as:  &lt;ul&gt; &lt;li&gt;They facilitate type safety  &lt;li&gt;They facilitate improved performance  &lt;li&gt;They facilitate reduced code  &lt;li&gt;They promote the usage of parameterized types  &lt;li&gt;The CLR compiles and stores information related to the generic types when they are instantiated. (The generic type instance refers to the location in memory of the reference type to which it is bound for all the instances of the generic type.)&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-6769134168199183081?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JdAaBdGwQ81bIjCBu6XMCQ6T-bs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JdAaBdGwQ81bIjCBu6XMCQ6T-bs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JdAaBdGwQ81bIjCBu6XMCQ6T-bs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JdAaBdGwQ81bIjCBu6XMCQ6T-bs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/TPedbfg1C7c" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/6769134168199183081?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/6769134168199183081?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/TPedbfg1C7c/what-is-cnet-generics.html" title="What is C#.NET Generics?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-cnet-generics.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IDQ384fip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-1344307748581464574</id><published>2011-12-17T22:26:00.003-08:00</published><updated>2011-12-17T22:26:12.136-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:26:12.136-08:00</app:edited><title>What is the difference between const and readonly in C#.NET?</title><content type="html">&lt;p&gt;The read only can be modified by the class it is contained in. However, the const cannot be modified. It needs to be instantiated only at the compile time.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-1344307748581464574?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2GYdSUTAlfRaC1ufUkYTHD8dMQs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2GYdSUTAlfRaC1ufUkYTHD8dMQs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2GYdSUTAlfRaC1ufUkYTHD8dMQs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2GYdSUTAlfRaC1ufUkYTHD8dMQs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/z-Bgtlu_JKc" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1344307748581464574?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1344307748581464574?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/z-Bgtlu_JKc/what-is-difference-between-const-and.html" title="What is the difference between const and readonly in C#.NET?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-difference-between-const-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ICQXo9fCp7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-3220162492667047169</id><published>2011-12-17T22:26:00.001-08:00</published><updated>2011-12-17T22:26:00.464-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:26:00.464-08:00</app:edited><title>What is Constructor Chaining?</title><content type="html">&lt;p&gt;We can chain the call of constructor from child class to base class depending on our requirement. This concept makes sure that the matching base class constructor must be called based on the parameter passed to the child class constructor.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-3220162492667047169?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X0yipR4aXsdoxLBKkpdoh8j6YKU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X0yipR4aXsdoxLBKkpdoh8j6YKU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X0yipR4aXsdoxLBKkpdoh8j6YKU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X0yipR4aXsdoxLBKkpdoh8j6YKU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/JxSmdiyzcmg" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3220162492667047169?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3220162492667047169?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/JxSmdiyzcmg/what-is-constructor-chaining_17.html" title="What is Constructor Chaining?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-constructor-chaining_17.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IBQHo8fip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-3319321471309373996</id><published>2011-12-17T22:25:00.007-08:00</published><updated>2011-12-17T22:25:51.476-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:25:51.476-08:00</app:edited><title>What is the difference between Finalize() and Dispose()?</title><content type="html">&lt;p&gt;Dispose() is called by as an indication for an object to release any unmanaged resources it has held.&lt;br&gt;Finalize() is used for the same purpose as dispose however finalize doesn’t assure the garbage collection of an object.&lt;br&gt;Dispose() operates determinalistically due to which it is generally preferred.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-3319321471309373996?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/n6l690W5f2x1DjooQkxIinrqgNk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n6l690W5f2x1DjooQkxIinrqgNk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/n6l690W5f2x1DjooQkxIinrqgNk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n6l690W5f2x1DjooQkxIinrqgNk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/8Mo28o3bri4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3319321471309373996?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3319321471309373996?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/8Mo28o3bri4/what-is-difference-between-finalize-and.html" title="What is the difference between Finalize() and Dispose()?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-difference-between-finalize-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IAQns6fCp7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-455710346925396015</id><published>2011-12-17T22:25:00.005-08:00</published><updated>2011-12-17T22:25:43.514-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:25:43.514-08:00</app:edited><title>How does the XmlSerializer work? What ACL permissions does a process using it require?</title><content type="html">&lt;p&gt;The XmlSerializer constructor generates a pair of classes derived from XmlSerializationReader and XmlSerializationWriter by analysis of the classes using reflection.  &lt;p&gt;Temporary C# files are created and compiled into a temporary assembly and then loaded into a process.  &lt;p&gt;The XmlSerializer caches the temporary assemblies on a per-type basis as the code generated like this is expensive. This cached assembly is used after a class is created. Therefore the XmlSerialize requires full permissions on the temporary directory which is a user profile temp directory for windows applications  &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-455710346925396015?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XoDxNvQWjHe7xtkLKrM1Xu_Ou5Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XoDxNvQWjHe7xtkLKrM1Xu_Ou5Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XoDxNvQWjHe7xtkLKrM1Xu_Ou5Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XoDxNvQWjHe7xtkLKrM1Xu_Ou5Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/V76NGb5Tz_M" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/455710346925396015?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/455710346925396015?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/V76NGb5Tz_M/how-does-xmlserializer-work-what-acl.html" title="How does the XmlSerializer work? What ACL permissions does a process using it require?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/how-does-xmlserializer-work-what-acl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IHRXY-fyp7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-6054477473270706202</id><published>2011-12-17T22:25:00.003-08:00</published><updated>2011-12-17T22:25:34.857-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:25:34.857-08:00</app:edited><title>What are circular references? Explain how garbage collection deals with circular references.</title><content type="html">&lt;p&gt;A circular reference is a run-around wherein the 2 or more resources are interdependent on each other rendering the entire chain of references to be unusable.  &lt;p&gt;There are quite a few ways of handling the problem of detecting and collecting cyclic references.  &lt;p&gt;1. A system may explicitly forbid reference cycles.&lt;br&gt;2. Systems at times ignore cycles when they have short lives and a small amount of cyclic garbage. In this case a methodology of avoiding cyclic data structures is applied at the expense of efficiency.&lt;br&gt;3. Another solution is to periodically use a tracing garbage collector cycles.&lt;br&gt;Other types of methods to deal with cyclic references are:&lt;br&gt;•Weighted reference counting&lt;br&gt;•Indirect reference counting&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-6054477473270706202?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oNjPNFKfcb6Oo_IoLGn0bzLhWEY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oNjPNFKfcb6Oo_IoLGn0bzLhWEY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oNjPNFKfcb6Oo_IoLGn0bzLhWEY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oNjPNFKfcb6Oo_IoLGn0bzLhWEY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/rs0FzfVBH6U" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/6054477473270706202?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/6054477473270706202?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/rs0FzfVBH6U/what-are-circular-references-explain.html" title="What are circular references? Explain how garbage collection deals with circular references." /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-are-circular-references-explain.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IERXg4eyp7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-2102220654887648072</id><published>2011-12-17T22:25:00.001-08:00</published><updated>2011-12-17T22:25:04.633-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:25:04.633-08:00</app:edited><title>Explain the use of virtual, sealed, override, and abstract.</title><content type="html">&lt;p&gt;The virtual keyword enables a class to be overridden. If it has to be prevented from being overridden, then the sealed keyword needs to be used. If the keyword virtual is not used, members of the class can even then be overridden. However, its usage is advised for making the code meaningful.  &lt;p&gt;The override keyword is used to override the virtual method in the base class. Abstract keyword is used to modify a class, method or property declaration. You cannot instantiate an abstract class or make calls to an abstract method directly.  &lt;p&gt;An abstract virtual method means that the definition of the method needs to be given in the derived class.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-2102220654887648072?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oILQUUQddVygOxvtOfGAutAlkrg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oILQUUQddVygOxvtOfGAutAlkrg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oILQUUQddVygOxvtOfGAutAlkrg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oILQUUQddVygOxvtOfGAutAlkrg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/bcoi1jRwVE4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/2102220654887648072?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/2102220654887648072?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/bcoi1jRwVE4/explain-use-of-virtual-sealed-override.html" title="Explain the use of virtual, sealed, override, and abstract." /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/explain-use-of-virtual-sealed-override.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QAQHs8fip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-3901787449200388991</id><published>2011-12-17T22:22:00.005-08:00</published><updated>2011-12-17T22:22:21.576-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:22:21.576-08:00</app:edited><title>Describe the accessibility modifier "protected internal" in C#.</title><content type="html">&lt;p&gt;The Protected Internal access modifier can be accessed by:&lt;br&gt;Members of the Assembly&lt;br&gt;The inheriting class&lt;br&gt;The class itself  &lt;p&gt;Its access is limited to the types derived from the defining class in the current assembly or the assembly itself.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-3901787449200388991?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sFdxjGNXfYkg27wOIDlkmqv3ZdU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sFdxjGNXfYkg27wOIDlkmqv3ZdU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sFdxjGNXfYkg27wOIDlkmqv3ZdU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sFdxjGNXfYkg27wOIDlkmqv3ZdU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/O3TGGjvKc7g" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3901787449200388991?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3901787449200388991?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/O3TGGjvKc7g/describe-accessibility-modifier.html" title="Describe the accessibility modifier &amp;quot;protected internal&amp;quot; in C#." /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/describe-accessibility-modifier.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QHQ3k4fip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-1340896226053906660</id><published>2011-12-17T22:22:00.003-08:00</published><updated>2011-12-17T22:22:12.736-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:22:12.736-08:00</app:edited><title>Explain the use of static members with example using C#.NET.</title><content type="html">&lt;p&gt;Static members are not associated with a particular instance of any class.&lt;br&gt;They need to be qualified with the class name to be called.&lt;br&gt;Since they are not associated with object instances, they do not have access to non-static members.&lt;br&gt;i.e.: "this" cannot be used, which represents the current object instance.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-1340896226053906660?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hvv_vH2k1RLnSGeyBQ8HIFgTDrU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hvv_vH2k1RLnSGeyBQ8HIFgTDrU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hvv_vH2k1RLnSGeyBQ8HIFgTDrU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hvv_vH2k1RLnSGeyBQ8HIFgTDrU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/SC0Bk7G5r9g" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1340896226053906660?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/1340896226053906660?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/SC0Bk7G5r9g/explain-use-of-static-members-with.html" title="Explain the use of static members with example using C#.NET." /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/explain-use-of-static-members-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QGQHY9fip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-5644937456342216614</id><published>2011-12-17T22:22:00.001-08:00</published><updated>2011-12-17T22:22:01.866-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:22:01.866-08:00</app:edited><title>How to achieve polymorphism in C#.NET?</title><content type="html">&lt;p&gt;Polymorphism is when a class can be used as more than one type through inheritance. It can be used as its own type, any base types, or any interface type if it implements interfaces.  &lt;p&gt;It can be achieved in the following ways:&lt;br&gt;Derived class inherits from a base class and it gains all the methods, fields, properties and events of the base class.  &lt;p&gt;To completely take over a class member from a base class, the base class has to declare that member as virtual.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-5644937456342216614?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sctWD1liIw7zx9RMw19L_hl2iu4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sctWD1liIw7zx9RMw19L_hl2iu4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sctWD1liIw7zx9RMw19L_hl2iu4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sctWD1liIw7zx9RMw19L_hl2iu4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/ECCu-ErrDAE" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/5644937456342216614?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/5644937456342216614?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/ECCu-ErrDAE/how-to-achieve-polymorphism-in-cnet.html" title="How to achieve polymorphism in C#.NET?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/how-to-achieve-polymorphism-in-cnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QFQHs_fCp7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-3197405229666685581</id><published>2011-12-17T22:21:00.009-08:00</published><updated>2011-12-17T22:21:51.544-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:21:51.544-08:00</app:edited><title>What is Constructor Chaining?</title><content type="html">&lt;p&gt;We can chain the call of constructor from child class to base class depending on our requirement. This concept makes sure that the matching base class constructor must be called based on the parameter passed to the child class constructor.&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-3197405229666685581?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZRY7-_dve1JgEyf8cD6rNEm-aKs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZRY7-_dve1JgEyf8cD6rNEm-aKs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZRY7-_dve1JgEyf8cD6rNEm-aKs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZRY7-_dve1JgEyf8cD6rNEm-aKs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/trhYdbNPjMw" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3197405229666685581?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/3197405229666685581?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/trhYdbNPjMw/what-is-constructor-chaining.html" title="What is Constructor Chaining?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-constructor-chaining.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UNSHg5eyp7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-353743627681142438</id><published>2011-12-17T22:21:00.007-08:00</published><updated>2011-12-17T22:21:39.623-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:21:39.623-08:00</app:edited><title>What is ref parameter? What is out parameter?</title><content type="html">&lt;p&gt;&lt;b&gt;Ref Parameter:&lt;/b&gt; Used to pass a parameter as a reference so that the function called will set the value. This could be used to return more than 1 value by a function.&lt;br&gt;e.g.&lt;br&gt;public int AddMuliply( int a , int b, ref int c)&lt;br&gt;{&lt;br&gt;c = a*b;&lt;br&gt;return ( a+b);&lt;br&gt;}&lt;br&gt;The above function, returns the addition of two numbers as well as computes the multiplication result and passes to the calling function.&lt;br&gt;&lt;b&gt;Out Parameter:&lt;/b&gt; Used to pass values from the aspx Code-behind to the aspx page.&lt;br&gt;The difference is that for a ref parameter, you have to assign a value before you call the function, while for OUT parameter, you dont have to assign a value, the calling function assumes that the called function would assign some value.&lt;br&gt;A &lt;b&gt;ref parameter&lt;/b&gt;&lt;b&gt; &lt;/b&gt;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 when we pass a parameter as ref to a method, the method refers to the same variable and changes made will affect the actual variable.&lt;br&gt;even the variable passed as out parameter is same as ref parameter, but implementation in c# is different, Arguement passed as ref parameter must be initialized before it is passed to the method. But in case of out parameter it is not necessary. But after a call to a method as out parameter it is necessary to initialize.&lt;br&gt;When to use out and ref parameter, out parameter is used when we want to return more than one value from a method. Ref parameter can be used as both input and o/p parameter out parameter can be used as only output parameter&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-353743627681142438?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Xzmf2dGmakwdNZUd1LZ5REJsgUU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xzmf2dGmakwdNZUd1LZ5REJsgUU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Xzmf2dGmakwdNZUd1LZ5REJsgUU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xzmf2dGmakwdNZUd1LZ5REJsgUU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/UCKD-ltU4LQ" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/353743627681142438?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/353743627681142438?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/UCKD-ltU4LQ/what-is-ref-parameter-what-is-out.html" title="What is ref parameter? What is out parameter?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/what-is-ref-parameter-what-is-out.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UMRno-eip7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-4881132802449611160</id><published>2011-12-17T22:21:00.005-08:00</published><updated>2011-12-17T22:21:27.452-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:21:27.452-08:00</app:edited><title>Why multiple Inheritance is not possible in C#?</title><content type="html">&lt;p&gt;Multple inheritance is coneceptually wrong. It shouldn't be allowed in any language. Inheritance is the strongest relationship that can be expressed in OO languages.&lt;br&gt;It's used to express IS-A relationship. Aggregation is used to express IS CONSTRUCTED IN TERMS OF. If you're using multiple inheritance in C++ then you're design is wrong and you probably want to use aggregation. On the other hand it's plausible to want to use multiple interfaces. For instance you might have a class wheel and a class engine. You could say that your class car inherits from wheel and from engine but that's wrong. In fact car aggregates wheel and engine because it is built in terms of those classes. If wheel is an interface and engine is an interface then car must inherit both of these interfaces since it must implement the functionaity of wheel and engine .On this basis we can see that multiple inheritance for classes should not be allowed because it promotes mis-use of the strong IS-A relationship. C# enforces the correct concepts whilst C++ allows mis-use. multiple interface inheritance is permissible and C# allows this. It's all to do with properly understanding OO concepts.&lt;br&gt;&lt;b&gt;Absolute Multiple Inheritance&lt;/b&gt; is not possible in c# but partially it supports multiple inheritance by the use of Interfaces. As interfaces force a class to implement same type of behaviour (as defined in interface) which classes implements that interface&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-4881132802449611160?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fowmS9L1dTut_jDzjT6rCzLl1FE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fowmS9L1dTut_jDzjT6rCzLl1FE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fowmS9L1dTut_jDzjT6rCzLl1FE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fowmS9L1dTut_jDzjT6rCzLl1FE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/3GtaekkN_HM" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/4881132802449611160?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/4881132802449611160?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/3GtaekkN_HM/why-multiple-inheritance-is-not.html" title="Why multiple Inheritance is not possible in C#?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/why-multiple-inheritance-is-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UDSX08eSp7ImA9WhRXEUU.&quot;"><id>tag:blogger.com,1999:blog-9038620997048086377.post-7663202154967611288</id><published>2011-12-17T22:21:00.003-08:00</published><updated>2011-12-17T22:21:18.371-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-17T22:21:18.371-08:00</app:edited><title>How to prevent a class from being inherited in C#.NET?</title><content type="html">&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;The sealed modifier is used to prevent derivation from a class. An error occurs if a sealed class is specified as the base class of another class. A sealed class cannot also be an abstract class&lt;/p&gt; &lt;p&gt;&lt;a href="http://aspnetnova.blogspot.com/2011/12/c-mvc-wcf-net-sql-questions.html"&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;u&gt;List of Asked Interview Questions: C# .NET SQL MVC WCF Questions&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9038620997048086377-7663202154967611288?l=aspnetnova.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MGVFLY6c2Icy-JKbt59gO9oebbM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MGVFLY6c2Icy-JKbt59gO9oebbM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MGVFLY6c2Icy-JKbt59gO9oebbM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MGVFLY6c2Icy-JKbt59gO9oebbM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AspnetNova/~4/gRxIQ2m6hTo" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/7663202154967611288?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9038620997048086377/posts/default/7663202154967611288?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AspnetNova/~3/gRxIQ2m6hTo/how-to-prevent-class-from-being.html" title="How to prevent a class from being inherited in C#.NET?" /><author><name>A IT  Devotee</name><uri>http://www.blogger.com/profile/06830566773927607068</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://aspnetnova.blogspot.com/2011/12/how-to-prevent-class-from-being.html</feedburner:origLink></entry></feed>

