D
D
Dymetrey2017-09-29 20:37:18
Programming
Dymetrey, 2017-09-29 20:37:18

Explain in human language what are directives and what is a using directive?

I can not understand what directives are, and why they are needed at all.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Griboks, 2017-09-29
@Klirik_High

using System.IO connects the namespace so that the code can use it, for example, methods for reading / writing files.

D
d-stream, 2017-09-29
@d-stream

The immediate question is, which ones? -)
using - this is at least two incarnations:
- we will use such and such a dll
- we will use this garbage only in this block, and then wipe
it out "
As applied to programming - indicating the programmer to the compiler

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question