Posts

Showing posts with the label Class

Modeling networks as graphs in C++

After playing around with some graph algorithm code as implemented by Sedgewick and others, I have come to the conclusion that while these are efficient and concise, improvements could be made to their usability.

Static Classes and Static Class Members in C#

Static classes - what are they? In C#, static classes have one important difference to that of non-static classes: they cannot be instantiated. That is, the new operator cannot be used to create an instance of the class type. Since no instance of a static class can exist, its members can only be accessed using the class name itself.