9. .NET Interface : Differences between .NET and Java Interfaces : Treatment of Data Values
 
Share this page                  
Treatment of Data Values
Unlike Java, the .NET runtime treats all types as objects, including the basic value types, such as integer or double. Therefore, the .NET PDO data access methods take and return objects, and there are no type-specific get or set methods as in Java. The caller must cast the returned object to the relevant subtype before using it. For more information on casting, see the Programming Guide.