Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Daniel Solis - Illustrated C# 2010 - 2010.pdf
Скачиваний:
19
Добавлен:
11.06.2015
Размер:
11.23 Mб
Скачать

CHAPTER 1 C# AND THE .NET FRAMEWORK

Simplified Deployment

Deploying programs written for the .NET Framework can be much easier than it was before, for the following reasons:

The fact that .NET programs don’t need to be registered with the registry means that in the simplest case, a program just needs to be copied to the target machine and it’s ready to run.

.NET offers a feature called side-by-side execution, which allows different versions of a DLL to exist on the same machine. This means that every executable can have access to the version of the DLL for which it was built.

Type Safety

The CLR checks and ensures the type safety of parameters and other data objects—even between components written in different programming languages.

The Base Class Library

The .NET Framework supplies an extensive base class library, called, not surprisingly, the Base Class Library (BCL). (It’s also sometimes called the Framework Class Library—FCL). You can use this extensive set of available code when writing your own programs. Some of the categories are the following:

General base classes: Classes that provide you with an extremely powerful set of tools for a wide range of programming tasks, such as file manipulation, string manipulation, security, and encryption

Collection classes: Classes that implement lists, dictionaries, hash tables, and bit arrays

Threading and synchronization classes: Classes for building multithreaded programs

XML classes: Classes for creating, reading, and manipulating XML documents

6

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]