Chapter 11 Flashcards
1
Q
What are extension methods
A
Such a method which can invoke from that class with does not defined in that class.
2
Q
What is stream reader/writer
A
Reading/writing information in chunks (step by step)
3
Q
What is the purpose of ‘using’
A
It close the corresponding variable at close time automatically and we do not need to close it by ourselves.
4
Q
If we delete directory with parameter true. what will happen
A
It will delete directory, even if there are contents in it.
5
Q
What is reflection
A
We can examine our assembly (variables, types, values etc) at run time. We can write our object states in files, databases with reflections. It is very useful feature.