Are there any design patterns used in the .NET Framework?

前端 未结 7 873
Happy的楠姐
Happy的楠姐 2020-12-22 18:31

I would like to know: are any GoF design patterns are used in the .NET Framework?

BOUNTY:

I have seen the MSDN link below in an answer. Are

相关标签:
7条回答
  • 2020-12-22 19:04
    • System.Net.WebClient is an example for the Façade Pattern.
    • System.IO.Stream: Classic Async Pattern
    • System.ComponentModel.BackgroundWorker: Event-Based Async pattern
    • As already mentioned: Dispose pattern is used nearly everywhere in the framework
    • System.Control: Template Method Pattern
    0 讨论(0)
提交回复
热议问题