C# Test Flashcards
8 cards from real Uncategorized practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 8 C# Test flashcards as text
When is the garbage collector run?
Answer: When application is running low of memory
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?
Answer: 2017
Explanation: The most recent version of C# was released in 2017.
Who says C# isn't a clone of Java?
Answer: Hejlsberg
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?
Answer: .Net provides cross language interoperability using code access security
The correct answer: .Net provides cross language interoperability using code access security
C Sharp was created by who?
Answer: Microsoft
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?
Answer: Classes that are part of the same assembly, as well as classes that are inherited from the declaring class
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?
Answer: 2017
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?
Answer: All of the above
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.