This might be a very basic question, but I am a bit confused about it. If I reflect the Int32/Double/any value type code, I see that they are structs and look like :
[Serializable, StructLayout(LayoutKind.Sequential), ComVisible(true)]
public struct Double : IComparable, IFormattable, IConvertible, IComparable<double>, IEquatable<double>
{
....
}
So, why do we say that everything in .NET is derived from System.Object. I think am missing some crucial point here.
EDIT: What confuses me further is that how can a value type which is struct inherit from System.Object which is a class.