Tag Archive: design

Microsoft .NET

Dangers of the public access modifier.

Did you know that the public access modifer in C# is essentially the equivalent to extern in C++? According to the C# 4.0 language specification, it is. People need to be careful with the public keyword. public in C# is not…
Read more

Microsoft .NET

Why abstraction can be detrimental.

The other day someone asked a question about the relation between the Socket class, and the UdpClient class. Specifically, what is the relation? While the answer is simple because UdpClient is merely wrapper around a UDP initialized socket, this also…
Read more