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

  • Home
  • SEARCH
  • 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 9227013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:57:58+00:00 2026-06-18T04:57:58+00:00

Unfortunately, C# does not have anything like C++’s friend . Hence, for instance, in

  • 0

Unfortunately, C# does not have anything like C++’s friend. Hence, for instance, in order to solve something like the classic matrix/vector multiplication example (where efficiency can be gained by befriending matrix and vector, such that each class has access to the private members of the other), I have to define the class members internal.

Now I know myself, and improper encapsulation will lead to messy code, sooner or later. Hence I would like to keep the internal universe as small as possible.

This will lead to very small assemblies.

Does that have any drawbacks, or doesn’t that matter?

  • 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-06-18T04:57:59+00:00Added an answer on June 18, 2026 at 4:57 am

    Answer to question in the title: how small assembly should be?

    There is no particular requirements or recommendations on size of assemblies*.

    *Insane number of assemblies (probably in thousands) in theory may slow down loading due to need to lookup information in more places.

    When picking size consider:

    • proper encapsulation
    • ease of editing (large number of solutions vs. several large one both have drawbacks and benifits at build/edit/deploy time)
    • technical restrictions (like GAC deployment, partially trusted code, anyCPU/x86/x64 requirements)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have six tables, which unfortunately does not have any primary/foreign key-relations encoded. I've
Unfortunately the specification does not tell anything about precision. The xml scheme definition states
unfortunately I have not found anything yet, maybe anyone could help me or give
Unfortunately, Devel::Cover does not yet work with threads. It doesn't work with prefork either.
I have an existing website that works with my custom theme. Unfortunately, it does
I unfortunately do not have the choice of using a different browser. I have
Unfortunately, the Mac I'm working on does not allow us to attach a debugger,
I am trying to use the tranlsation webservice from MyMemory: http://mymemory.translated.net/doc/spec.php Unfortunately, Zend_Soap_Client does
Unfortunately, I have to deal with J2ME (which I consider ancient technology these days)
Unfortunately, I have to use a C library with internal state in my Android

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.