Friday, July 10, 2009

What is the difference between for loop and foreach loop

You know there are two loop types in dotnet

For

loop and

ForEach

loop. List out the differences between them.

Is everything in dotnet is an object?

One of the very important dotnet Interview question



You know everithing is inherited from object class in dotnet and hence the premitive data types also....If so, how can you say they are value type..if it is being inherited from object wich is a reference type?

You may have answers at

http://stackoverflow.com/questions/436211/is-everything-in-c-an-object