Visual Studio Toolbox (HD) - Channel 9

Design Patterns: Singleton


Listen Later

This is the fifth of an eight part series where Robert is joined by Phil Japikse to discuss design patterns. A design pattern is a best practice you can use in your code to solve a common problem. In this episode, Phil demonstrates the Singleton pattern. This pattern restricts the instantiation of a class to one instance and provides global access to that instance. Episodes in this series: Command/Memento patternsStrategy patternTemplate Method pattern Observer/Publish-Subscribe patternsSingleton pattern (this episode)Factory patternsAdapter/Facade patternsDecorator patternResources Sample codeDesign Patterns: Elements of Reusable Object-Oriented Software bookHead First Design Patterns book
...more
View all episodesView all episodes
Download on the App Store

Visual Studio Toolbox (HD) - Channel 9By Microsoft