C# Test 2

0%

When is the garbage collector run?

Correct! Wrong!

Explanation:
When the system's physical memory is low, garbage collection happens. This is noticed either by the OS's low memory notification or by the host's low memory indication.

In which year was the most recent version of C# released?

Correct! Wrong!

Explanation:
The most recent version of C# was released in 2017.

Who says C# isn't a clone of Java?

Correct! Wrong!

Explanation:
C#, according to Hejlsberg, is "not a Java clone" and is "far closer to C++" in terms of design.

Which of the statements below is incorrect?

Correct! Wrong!

The correct answer:
.Net provides cross language interoperability using code access security

C Sharp was created by who?

Correct! Wrong!

Explanation:
C# (C Sharp) is a Microsoft-developed general-purpose, multi-paradigm programming language that runs on the.NET Framework. C# is a popular programming language for creating mobile apps, games, and Windows applications.

Who has access to a method tagged as protected internal?

Correct! Wrong!

Explanation:
The method is only visible to the inheriting types if it is merely declared as protected. It is visible to classes within the same assembly and classes derived from the declaring class if it is specified as protected internal. This signifies that the method will be visible to all members of a certain class.

When did version 7.2 become available?

Correct! Wrong!

Explanation:
Using Minor Versions of C# with Visual Studio (7.1, 7.2, and 7.3) C# 7.1 was published in August 2017 as part of the Visual Studio 2017 15.3 update, while C# 7.2 was released in December 2017 with Visual Studio 2017 15.5.

What are the.NET Framework's configuration files?

Correct! Wrong!

Explanation:
The.NET framework provides several types of configuration files, including enterprisesec.config, which configures enterprise-level security settings. - security.config, which sets security policies at the machine level. - The installation parameters are stored in machine.config.

Premium Tests $49/mo
FREE December-2024