DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Humberto Morales Guest

    Reference and Value Type differences between C# and VB.NET

    Do C# reference and value types exist in VB.NET?

    So if I create 2 classes of the same type and 2 structs of the same type
    then make them equal to each other. When I make a change to the class types
    the changes reflect in both because its a reference type but not in the
    struct type because its a value type. Does also apply to VB.NET?

    Thanks in advance.

    H



  2. #2
    Mattias Sjögren Guest

    Re: Reference and Value Type differences between C# and VB.NET

    Humberto,

    >Do C# reference and value types exist in VB.NET?


    Yes (Class and Structure).


    >Does also apply to VB.NET?


    Yes


    Mattias

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

  3. #3
    Humberto Morales Guest

    Re: Reference and Value Type differences between C# and VB.NET

    Thanks
    "Humberto Morales" <humberto@socal.rr.com> wrote in message
    news:3b8f3213$1@news.devx.com...
    > Do C# reference and value types exist in VB.NET?
    >
    > So if I create 2 classes of the same type and 2 structs of the same type
    > then make them equal to each other. When I make a change to the class

    types
    > the changes reflect in both because its a reference type but not in the
    > struct type because its a value type. Does also apply to VB.NET?
    >
    > Thanks in advance.
    >
    > H
    >
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links