- public String registrationNumber;. String is a reference type variable. All others are value type variables.
- Struct is a value type variable unlike all others which are reference type variables.
- No, in C# we cannot have multiple inheritance. A class can only inherit from one base class.
- In C#, an interface must only have function declarations and not definitions. All other statements are correct.
- If a member variable is declared as protected, it can only be accessed in the classes that inherit from its base parent class.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine