BinaryReader is a class that reads primitive data types as binary values in a specific encoding (see MSDN for more details). The usage of this class is to read sequences of bytes usually created by reading a file, getting data from sockets and retrieving data from memory. After having the stream of bytes, we may [...]
Extention Methods are a very useful tool we just got in C# 3.0. We could define them as static methods that extend existing classes, Even System classes!!!
If we wanted to do something like that in the past we had to derive from the selected class and extend it with whatever we wanted. But what if [...]
We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution
Learn More