SlideShare a Scribd company logo
1 of 1
Download to read offline
This if for a C# assignment.
Please explain a scenario/use case for each of the following design patterns. Does not have to be
long but it can not be one online please help!
A) Adapter
B) Briidge
C) Composite
D) Decorator
E) Facade
F) Flyweight
G) Proxy
Solution
A)Adapter:It is mainly preloved to change the interfcae of a class into other interface that clients
anticipates.
B)Briidge:It is deliberated to to remain the interface with client programm constraint when
permiting to modify the real type of class utilized.then the interface can be modified and the
class being individually.
C)Composite:It is a group of objects any of the class is a composite or simply a primary object.it
allows the users individual and composition of objects much consisitently.
D)Decorator:it is a class which that encircles a class ,appends a fresh abilities for a class and
proceeds the unmodified methods to the classes being.
E)Facade:It assembles a complex object heirarchy ,offers a fresh ,easier interface to acess the
data.it senses a gaint-level interface which acquires a sub system uncomplicated utilization.
F)Fly weight:it offers a procedure to restrict the prolification of little ,same class instances
mobiling a few of the class data exterior the class and progressing at the time of different
execution methods.it utilizes the splitting to enhance the more number of objects effectively.
G)Proxy:It offers a proxy (or) easy place-holder class for much composite class which was high
cost to instance.

More Related Content

Similar to This if for a C# assignment.Please explain a scenariouse case for.pdf

Framework engineering JCO 2011
Framework engineering JCO 2011Framework engineering JCO 2011
Framework engineering JCO 2011YoungSu Son
 
M04 Design Patterns
M04 Design PatternsM04 Design Patterns
M04 Design PatternsDang Tuan
 
Learn C# Programming - Classes & Inheritance
Learn C# Programming - Classes & InheritanceLearn C# Programming - Classes & Inheritance
Learn C# Programming - Classes & InheritanceEng Teong Cheah
 
C#.net interview questions for dynamics 365 ce crm developers
C#.net interview questions for dynamics 365 ce crm developersC#.net interview questions for dynamics 365 ce crm developers
C#.net interview questions for dynamics 365 ce crm developersSanjaya Prakash Pradhan
 
Structural pattern 3
Structural pattern 3Structural pattern 3
Structural pattern 3Naga Muruga
 
Java OOPS Concept
Java OOPS ConceptJava OOPS Concept
Java OOPS ConceptRicha Gupta
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in javasmumbahelp
 
Object Oriented Programming In .Net
Object Oriented Programming In .NetObject Oriented Programming In .Net
Object Oriented Programming In .NetGreg Sohl
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programmingsmumbahelp
 

Similar to This if for a C# assignment.Please explain a scenariouse case for.pdf (20)

L03 Software Design
L03 Software DesignL03 Software Design
L03 Software Design
 
C# interview questions
C# interview questionsC# interview questions
C# interview questions
 
Chapter 09
Chapter 09Chapter 09
Chapter 09
 
Facade pattern
Facade patternFacade pattern
Facade pattern
 
Sda 9
Sda   9Sda   9
Sda 9
 
Ej Chpt#4 Final
Ej Chpt#4 FinalEj Chpt#4 Final
Ej Chpt#4 Final
 
Encapsulation
EncapsulationEncapsulation
Encapsulation
 
Stoop 440-adaptor
Stoop 440-adaptorStoop 440-adaptor
Stoop 440-adaptor
 
Adapter Pattern
Adapter PatternAdapter Pattern
Adapter Pattern
 
Framework engineering JCO 2011
Framework engineering JCO 2011Framework engineering JCO 2011
Framework engineering JCO 2011
 
M04 Design Patterns
M04 Design PatternsM04 Design Patterns
M04 Design Patterns
 
Learn C# Programming - Classes & Inheritance
Learn C# Programming - Classes & InheritanceLearn C# Programming - Classes & Inheritance
Learn C# Programming - Classes & Inheritance
 
C#.net interview questions for dynamics 365 ce crm developers
C#.net interview questions for dynamics 365 ce crm developersC#.net interview questions for dynamics 365 ce crm developers
C#.net interview questions for dynamics 365 ce crm developers
 
Interface Vs Abstact
Interface Vs AbstactInterface Vs Abstact
Interface Vs Abstact
 
Structural pattern 3
Structural pattern 3Structural pattern 3
Structural pattern 3
 
Java OOPS Concept
Java OOPS ConceptJava OOPS Concept
Java OOPS Concept
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
Object Oriented Programming In .Net
Object Oriented Programming In .NetObject Oriented Programming In .Net
Object Oriented Programming In .Net
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
 
Facade Pattern
Facade PatternFacade Pattern
Facade Pattern
 

More from amritashinfosalys

Match the type of data with the correct location(B) stackSelect On.pdf
Match the type of data with the correct location(B) stackSelect On.pdfMatch the type of data with the correct location(B) stackSelect On.pdf
Match the type of data with the correct location(B) stackSelect On.pdfamritashinfosalys
 
In January 2017, Crane Company, a newly formed company, issued 9500 .pdf
In January 2017, Crane Company, a newly formed company, issued 9500 .pdfIn January 2017, Crane Company, a newly formed company, issued 9500 .pdf
In January 2017, Crane Company, a newly formed company, issued 9500 .pdfamritashinfosalys
 
If the architecture describes the design by specifying gates, flip-fl.pdf
If the architecture describes the design by specifying gates, flip-fl.pdfIf the architecture describes the design by specifying gates, flip-fl.pdf
If the architecture describes the design by specifying gates, flip-fl.pdfamritashinfosalys
 
I need help for my next project due next tuesday can you help me in .pdf
I need help for my next project due next tuesday can you help me in .pdfI need help for my next project due next tuesday can you help me in .pdf
I need help for my next project due next tuesday can you help me in .pdfamritashinfosalys
 
how the Central Bank impacts the overall economySolutionthe ce.pdf
how the Central Bank impacts the overall economySolutionthe ce.pdfhow the Central Bank impacts the overall economySolutionthe ce.pdf
how the Central Bank impacts the overall economySolutionthe ce.pdfamritashinfosalys
 
How do humans localize sound In other words, how does someone with .pdf
How do humans localize sound In other words, how does someone with .pdfHow do humans localize sound In other words, how does someone with .pdf
How do humans localize sound In other words, how does someone with .pdfamritashinfosalys
 
Explain the ramifications of the changes, and demonstrate that they w.pdf
Explain the ramifications of the changes, and demonstrate that they w.pdfExplain the ramifications of the changes, and demonstrate that they w.pdf
Explain the ramifications of the changes, and demonstrate that they w.pdfamritashinfosalys
 
Explain and provide examples of how species-specific and environment.pdf
Explain and provide examples of how species-specific and environment.pdfExplain and provide examples of how species-specific and environment.pdf
Explain and provide examples of how species-specific and environment.pdfamritashinfosalys
 
Each of the following is a function of membranes except sites for spe.pdf
Each of the following is a function of membranes except sites for spe.pdfEach of the following is a function of membranes except sites for spe.pdf
Each of the following is a function of membranes except sites for spe.pdfamritashinfosalys
 
Develop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdf
Develop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdfDevelop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdf
Develop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdfamritashinfosalys
 
Devlin Inc produces snack foods such as bagel chips. The company had .pdf
Devlin Inc produces snack foods such as bagel chips. The company had .pdfDevlin Inc produces snack foods such as bagel chips. The company had .pdf
Devlin Inc produces snack foods such as bagel chips. The company had .pdfamritashinfosalys
 
Choose the one that the correct sequence (going from Mart to finish) .pdf
Choose the one that the correct sequence (going from Mart to finish) .pdfChoose the one that the correct sequence (going from Mart to finish) .pdf
Choose the one that the correct sequence (going from Mart to finish) .pdfamritashinfosalys
 
Connecting the Concepts Structural Adaptations in Land Plants What .pdf
Connecting the Concepts Structural Adaptations in Land Plants  What .pdfConnecting the Concepts Structural Adaptations in Land Plants  What .pdf
Connecting the Concepts Structural Adaptations in Land Plants What .pdfamritashinfosalys
 
Business statistics1.How is the trend eliminated in the ratio-to-m.pdf
Business statistics1.How is the trend eliminated in the ratio-to-m.pdfBusiness statistics1.How is the trend eliminated in the ratio-to-m.pdf
Business statistics1.How is the trend eliminated in the ratio-to-m.pdfamritashinfosalys
 
At the end of Meiosis I for this organism, what is the policy number .pdf
At the end of Meiosis I for this organism, what is the policy number .pdfAt the end of Meiosis I for this organism, what is the policy number .pdf
At the end of Meiosis I for this organism, what is the policy number .pdfamritashinfosalys
 
Assignment Write a multithreaded Java program that uses either semap.pdf
Assignment Write a multithreaded Java program that uses either semap.pdfAssignment Write a multithreaded Java program that uses either semap.pdf
Assignment Write a multithreaded Java program that uses either semap.pdfamritashinfosalys
 
African and white abolitionist often did not get along whySoluti.pdf
African and white abolitionist often did not get along whySoluti.pdfAfrican and white abolitionist often did not get along whySoluti.pdf
African and white abolitionist often did not get along whySoluti.pdfamritashinfosalys
 
What unique properties of the genome do forensic scientists use to g.pdf
What unique properties of the genome do forensic scientists use to g.pdfWhat unique properties of the genome do forensic scientists use to g.pdf
What unique properties of the genome do forensic scientists use to g.pdfamritashinfosalys
 
what are the five major activities of an operating system in regard .pdf
what are the five major activities of an operating system in regard .pdfwhat are the five major activities of an operating system in regard .pdf
what are the five major activities of an operating system in regard .pdfamritashinfosalys
 
What are the key components of a typical centralized all-air HVAC sys.pdf
What are the key components of a typical centralized all-air HVAC sys.pdfWhat are the key components of a typical centralized all-air HVAC sys.pdf
What are the key components of a typical centralized all-air HVAC sys.pdfamritashinfosalys
 

More from amritashinfosalys (20)

Match the type of data with the correct location(B) stackSelect On.pdf
Match the type of data with the correct location(B) stackSelect On.pdfMatch the type of data with the correct location(B) stackSelect On.pdf
Match the type of data with the correct location(B) stackSelect On.pdf
 
In January 2017, Crane Company, a newly formed company, issued 9500 .pdf
In January 2017, Crane Company, a newly formed company, issued 9500 .pdfIn January 2017, Crane Company, a newly formed company, issued 9500 .pdf
In January 2017, Crane Company, a newly formed company, issued 9500 .pdf
 
If the architecture describes the design by specifying gates, flip-fl.pdf
If the architecture describes the design by specifying gates, flip-fl.pdfIf the architecture describes the design by specifying gates, flip-fl.pdf
If the architecture describes the design by specifying gates, flip-fl.pdf
 
I need help for my next project due next tuesday can you help me in .pdf
I need help for my next project due next tuesday can you help me in .pdfI need help for my next project due next tuesday can you help me in .pdf
I need help for my next project due next tuesday can you help me in .pdf
 
how the Central Bank impacts the overall economySolutionthe ce.pdf
how the Central Bank impacts the overall economySolutionthe ce.pdfhow the Central Bank impacts the overall economySolutionthe ce.pdf
how the Central Bank impacts the overall economySolutionthe ce.pdf
 
How do humans localize sound In other words, how does someone with .pdf
How do humans localize sound In other words, how does someone with .pdfHow do humans localize sound In other words, how does someone with .pdf
How do humans localize sound In other words, how does someone with .pdf
 
Explain the ramifications of the changes, and demonstrate that they w.pdf
Explain the ramifications of the changes, and demonstrate that they w.pdfExplain the ramifications of the changes, and demonstrate that they w.pdf
Explain the ramifications of the changes, and demonstrate that they w.pdf
 
Explain and provide examples of how species-specific and environment.pdf
Explain and provide examples of how species-specific and environment.pdfExplain and provide examples of how species-specific and environment.pdf
Explain and provide examples of how species-specific and environment.pdf
 
Each of the following is a function of membranes except sites for spe.pdf
Each of the following is a function of membranes except sites for spe.pdfEach of the following is a function of membranes except sites for spe.pdf
Each of the following is a function of membranes except sites for spe.pdf
 
Develop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdf
Develop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdfDevelop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdf
Develop a detailed Compliance budget for fiscal year 2015-16 for a 1.pdf
 
Devlin Inc produces snack foods such as bagel chips. The company had .pdf
Devlin Inc produces snack foods such as bagel chips. The company had .pdfDevlin Inc produces snack foods such as bagel chips. The company had .pdf
Devlin Inc produces snack foods such as bagel chips. The company had .pdf
 
Choose the one that the correct sequence (going from Mart to finish) .pdf
Choose the one that the correct sequence (going from Mart to finish) .pdfChoose the one that the correct sequence (going from Mart to finish) .pdf
Choose the one that the correct sequence (going from Mart to finish) .pdf
 
Connecting the Concepts Structural Adaptations in Land Plants What .pdf
Connecting the Concepts Structural Adaptations in Land Plants  What .pdfConnecting the Concepts Structural Adaptations in Land Plants  What .pdf
Connecting the Concepts Structural Adaptations in Land Plants What .pdf
 
Business statistics1.How is the trend eliminated in the ratio-to-m.pdf
Business statistics1.How is the trend eliminated in the ratio-to-m.pdfBusiness statistics1.How is the trend eliminated in the ratio-to-m.pdf
Business statistics1.How is the trend eliminated in the ratio-to-m.pdf
 
At the end of Meiosis I for this organism, what is the policy number .pdf
At the end of Meiosis I for this organism, what is the policy number .pdfAt the end of Meiosis I for this organism, what is the policy number .pdf
At the end of Meiosis I for this organism, what is the policy number .pdf
 
Assignment Write a multithreaded Java program that uses either semap.pdf
Assignment Write a multithreaded Java program that uses either semap.pdfAssignment Write a multithreaded Java program that uses either semap.pdf
Assignment Write a multithreaded Java program that uses either semap.pdf
 
African and white abolitionist often did not get along whySoluti.pdf
African and white abolitionist often did not get along whySoluti.pdfAfrican and white abolitionist often did not get along whySoluti.pdf
African and white abolitionist often did not get along whySoluti.pdf
 
What unique properties of the genome do forensic scientists use to g.pdf
What unique properties of the genome do forensic scientists use to g.pdfWhat unique properties of the genome do forensic scientists use to g.pdf
What unique properties of the genome do forensic scientists use to g.pdf
 
what are the five major activities of an operating system in regard .pdf
what are the five major activities of an operating system in regard .pdfwhat are the five major activities of an operating system in regard .pdf
what are the five major activities of an operating system in regard .pdf
 
What are the key components of a typical centralized all-air HVAC sys.pdf
What are the key components of a typical centralized all-air HVAC sys.pdfWhat are the key components of a typical centralized all-air HVAC sys.pdf
What are the key components of a typical centralized all-air HVAC sys.pdf
 

Recently uploaded

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 

Recently uploaded (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 

This if for a C# assignment.Please explain a scenariouse case for.pdf

  • 1. This if for a C# assignment. Please explain a scenario/use case for each of the following design patterns. Does not have to be long but it can not be one online please help! A) Adapter B) Briidge C) Composite D) Decorator E) Facade F) Flyweight G) Proxy Solution A)Adapter:It is mainly preloved to change the interfcae of a class into other interface that clients anticipates. B)Briidge:It is deliberated to to remain the interface with client programm constraint when permiting to modify the real type of class utilized.then the interface can be modified and the class being individually. C)Composite:It is a group of objects any of the class is a composite or simply a primary object.it allows the users individual and composition of objects much consisitently. D)Decorator:it is a class which that encircles a class ,appends a fresh abilities for a class and proceeds the unmodified methods to the classes being. E)Facade:It assembles a complex object heirarchy ,offers a fresh ,easier interface to acess the data.it senses a gaint-level interface which acquires a sub system uncomplicated utilization. F)Fly weight:it offers a procedure to restrict the prolification of little ,same class instances mobiling a few of the class data exterior the class and progressing at the time of different execution methods.it utilizes the splitting to enhance the more number of objects effectively. G)Proxy:It offers a proxy (or) easy place-holder class for much composite class which was high cost to instance.