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