1. Trang chủ
  2. » Công Nghệ Thông Tin

Hướng dẫn lập trình môn C

4 10 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

The class that defines the Main() method is termed the _ application object system object static object sensitive object Field data of a class should seldom be defined as public To preserve the integrity of your state data, it is a far better desig True Fals e Which of the following are the new features of C# 7.1? Async Main Default Expressions Infer tuple names Pattern-matching with generics 1, 2, 3 2, 3, 1, 2, 1, 2, 3, Which of the following statement related to Assemblies are correct? When you compile an application, the CIL code is stored in an assembly Assemblies include both executable application files and libraries Assemblies also include meta information and optional resources All of the above Which of the following statement related to CIL and JIT are correct? The just-in-time part of the name reflects the fact that CIL code is compiled only when it is needed Your code gets compiled into Just In Time (JIT) code Several JIT compilers exist, each targeting a different architecture, and the CLR/ CoreCLR uses the appropriate one to c All of the above Which of the following statement related to Managed Code are correct? The role of the CLR/CoreCLR doesn’t end after you have compiled your code to CIL and a JIT compiler has compiled th Code written using the NET Framework and NET Core are managed when it is executed CLR/ CoreCLR looks after your applications by managing memory, handling security, allowing cross language debuggin All of the above Which of the following statement related to Garbage Collection are correct? This method makes sure that the memory used by an application is freed up completely the application is no longer in NET garbage collection works by periodically inspecting the memory of your computer and removing anything from it Using Garbage collection, you can separate logically related code into an individual file so that it can be worked on ind All of the above Linking makes it easy to locate specific pieces of code when you need them and enables teams of developers to divide th otherwise satisfactory sections or sections other people are working on True Fals e Which of the following application can be developed using C#? Desktop applications Windows Store applications Cloud/Web applications Web APIs 1, 2, 2, 3, 1, 2, 1, 2, 3, 10 Which of the following is not a Visual Studio 2017 product? Visual Studio Code Visual Studio Community Visual Studio Professional None of the above provides a unified class library which can be targeted from multiple NET platforms like the NET Framework, N NET Standard 11 NET Core applications NET Framework applications NET Core fundamentals Applications written using the are first compiled into CIL When an application is executed, the CLR us NET Core fundamentals 12 NET Framework NET Standard NET Core applications NET Core applications work similar to NET Framework applications; however, instead of using the CoreCLR it uses CLR 13 True Fals e The distinctive features of C# from an object-oriented perspective are which of the following? Unified type system 14 Classes and interfaces Properties, methods, and events All of the above 15 Which of the following statement related to C# are correct? C# is primarily a type-safe language, meaning that instances of types can interact only through protocols they define C# prevents you from interacting with a string type as though it were an integer type C# supports static typing, meaning that the language enforces type safety at compile time All of the above ... above Which of the following statement related to Managed Code are correct? The role of the CLR/CoreCLR doesn’t end after you have compiled your code to CIL and a JIT compiler has compiled th Code... NET Core applications NET Framework applications NET Core fundamentals Applications written using the are first compiled into CIL When an application is executed, the CLR us NET Core... Garbage Collection are correct? This method makes sure that the memory used by an application is freed up completely the application is no longer in NET garbage collection works by periodically

Ngày đăng: 05/01/2022, 14:31

Xem thêm:

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN

w