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
The .NET framework uses many of the Gang of Four patterns. Here are just a few examples:
Creational patterns
System.Data.Common.DbProviderFactory. Every member function of this class is a factory method. System.Data.IDbConnection.BeginTransaction(). The type of transaction created depends on the underlying IDbConnection implementation.WebRequest.Create() returns a concrete type that depends on the URL scheme.Structural patterns
System.Data.SqlClient.SqlConnection, System.Data.OleDb.OleDbConnection etc. Each provider is an adapter for its specific database.System.Windows.Forms.Control and its derived classes.System.Web.UI.Control and its derived classes.System.Xml.XmlNode and its derived classes.System.Windows.Controls.Decorator (in WPF).Stream are decorators around an inner stream (e.g. GZipStream, CryptoStream).System.Xml.Serialization.XmlSerializer. XmlSerializer hides a complex task (that includes generating assemblies on the fly!) behind a very easy-to-use class.System.ServiceModel.ClientBaseBehavioral Patterns
System.Web.UI.Control.OnBubbleEvent() and System.Web.UI.Control.RaiseBubbleEvent(). System.Windows.Input.ICommand (in WPF).System.Linq.Expressions.Expression and related classes.System.Collections.IEnumerable.System.Collections.Generic.IEnumerable.System.Data.IDataReader. System.Linq.Expressions.ExpressionVisitor (used internally by [LINQ])