- 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
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand