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 8112531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:32:05+00:00 2026-06-06T02:32:05+00:00

Just wanted to ask you about the drawbacks (I mean memory or reponse time)

  • 0

Just wanted to ask you about the drawbacks (I mean memory or reponse time) of using an object with more than 300 properties in the .NET Framewok (C#).

I’m thinking to separate the properties in different classes, but my problem here is that the properties don’t have a big relation between them.

I’m not going to do any complexe calculation, I will just fill the properties of the instatiaded object and send him to another program, which is going to send him back.

What do you think

EDIT

I will have just one object while running my program.

  • 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-06T02:32:07+00:00Added an answer on June 6, 2026 at 2:32 am

    Biggest drawback: readability.

    A class with 300 attributes (I assume you mean properties, as .NET attributes have a specific technical meaning) is too large to read and understand. If, as you say, the attributes don't have a big relation between them, you should look for how they should be decomposed into smaller classes of related items.

    Your description:

    I’m not going to do any complexe calculation, I will just fill the attributes of the instatiaded object and send him to another program, which is going to send him back.

    This seems to indicate a DTO (Data Transfer Object) that needs to go between systems – I would think that again, you should think about decomposing the object into several (so if related items change, you don’t have to change the whole interface).

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

Sidebar

Related Questions

just wanted to ask where I define initial class properties? From other languages I
I just wanted to ask. I have text input to allow users to type
Just wanted to know something about signed vs unsigned interpretation. Am I right if
Just wanted to know if anyone is really using Objects and Collections in Oracle
I wanted to ask the SO community about this problem in my project. I
I wanted to ask about the pros cons of my the following OOP style.
I'm pretty new to MS Access 2007, and I wanted to ask about something,
Just wanted to stop by and ask if anybody has had this problem. I’m
Just wanted to ask if there is an easyer way to do this (to
Just wanted to ask u how do we link HTML file in PhoneGap Applications.As

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.