Singleton Pattern vs. Static Classes in C#

2008年06月16日 23:59 • 查看 31 次 • 打印本文

This article covers the differences between the singleton design pattern and the static keyword on C# classes. Static classes and singletons both provide sharing of redundant objects in memory, but they are very different in usage and implementation.

查看原文 »

评论

发表评论