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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:54:52+00:00 2026-05-18T11:54:52+00:00

I am working on C# programming assignment for college. Part of my final for

  • 0

I am working on C# programming assignment for college. Part of my final for the class.
The prof gave us a program, that works, but is very poorly written.
We have to clean up the code and add our own flair to it, but we have to do so with the original code, so that the prof can follow what we changed where.

Many of the methods have large chunks of redundant code that could be thrown into another method, once, then called on when needed.

I am commenting it all out, but it it easily takes up 80% of form.cs.

This leads me to my question:

Is there an easy way to add the plus sign drop downs so that I can collapse all the large comment blocks.

I am using MS Visual Studio 2008 Pro.

Thank you in advance for your help.

  • 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-18T11:54:53+00:00Added an answer on May 18, 2026 at 11:54 am

    Use regions.

    #region
    
    // Block you want to expand/collapse
    
    #endregion
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not very proficient in Mac OS X programming, but I am working
I'm working on a game (C#) that uses a Robocode-like programming model: participants inherit
I'm working on several distinct but related projects in different programming languages. Some of
i'm working on a network programming assignment about writing a simple IM system (pretty
I'm working through the Stanford iPhone programming course online. The Presence app assignment pulls
I'm working on a java assignment for a class and I'm unsure how to
I am working on a mutual exclusion assignment, but when I started I noticed
I'm working on a homework assignment (a project), for which one criterion is that
I have created a VB.NET 2008 Class Library that has, for the most part,
I'm working on my first homework project in a web programming class, which 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.