Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1115221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T03:07:32+00:00 2026-05-17T03:07:32+00:00

What is the difference between these terms, can you give please small examples?

  • 0

What is the difference between these terms, can you give please small examples?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T03:07:32+00:00Added an answer on May 17, 2026 at 3:07 am

    Aggregation: From http://en.wikipedia.org/wiki/Aggregate_pattern

    In Design Patterns, an aggregate is
    not a design pattern but rather refers
    to an object such as a list, vector,
    or generator which provides an
    interface for creating iterators.

    Meaning in short on elements contains 0 or more other elements of another type.

    public class MyAggregation 
    {   
       protected List<MyAggregates> aggregates = new List<MyAggregates>();
    
       public void add( MyAggregate element )
       {
            aggregates.Add( element );    
       }
    }
    

    Delegate: From http://en.wikipedia.org/wiki/Delegation_pattern

    In software engineering, the
    delegation pattern is a design pattern
    in object-oriented programming where
    an object, instead of performing one
    of its stated tasks, delegates that
    task to an associated helper object

    Meaning that some class uses another object to do something.

    public interface IExceptionHandler
    {
        void handle( string filename );
    }
    
    public class FileDeleteExceptionHandler : IExceptionHandler
    {
       public void handle( string filename )
       {
          File.Remove( filename );
       }
    }
    
    
    public class MyExceptionHandler
    {
        protected IExceptionHandler exceptionHandler;
    
        public MyExceptionHandler( IExceptionHandler theHandler )
        {
           this.exceptionHandler = theHandler;
        }
    
        public void handleException( string filename )
        {
           excpetionHandler.handle( filename );
        }
    }
    

    Or in C# delegation can just refer to a delegate function, see http://msdn.microsoft.com/de-de/library/900fyy8e%28VS.80%29.aspx

    Consultation I know nothing off, sorry

    hth

    Mario

    Note: I did not actually compile the code above.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone tell me in really slow terms the difference between these 2 lines
Can somebody please explain me the difference between the terms high memory and high
What is the difference between these 2 terms in Operating System: swap and page?
What is the difference between these two queries? Why do they give different results?
Can someone explain the difference between these two, the first one is taken from
Is there a difference in terms of security between these two models to be
What's the difference between String.matches and Matcher.matches? Is there any difference in terms of
What is the difference between these two declarations of a list of lists? >>>
What is the difference between these two codes : public uint? a; public uint
Is there any difference between these tow pieces of code & which approach is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.