1
Reply

Are C++ and C# structure the Same.?

Piyush chhabra

Piyush chhabra

Apr 18, 2015
448
0

    NO.In C++ struct Defines a class type. So Struct and class are nearly Same in C++. the difference is that the members of class are By Default private and Members of struct are By Default Public. But in C#, C# defines a value typeand Class Defines a reference type.

    Piyush chhabra
    April 18, 2015
    0