Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

architecture class creation in c#

Posted on 2010-11-17
5
279 Views
Last Modified: 2012-05-10
what is the internal architecture for creating a class in c#.show all internal steps.
0
Comment
Question by:dynamicweb09
5 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34158643
Not quite sure what you're after. Plus they way you phrased it makes it sound like a homework question.
0
 
LVL 1

Author Comment

by:dynamicweb09
ID: 34161620
i want to know basically the architecture of creation of a class.
0
 
LVL 7

Accepted Solution

by:
keustermans earned 125 total points
ID: 34162228
This is the basic architecture of a class.  If this is not what you require you need to be more specific when asking a question.  Remember what may be crystal clear in your mind may be as clear as mud to us.

public class TestClass()
{
       //private variables
       private int numberValue;
       private int textValue;

      //public accessors
      public int NumberValue()
      {
            get
            {
                 return numberValue;
            }
            set
            {
                  numberValue = value;
            }
      }

      public stering TextValue()
      {
            get
            {
                 return textValue;
            }
            set
            {
                  textValue= value;
            }
      }

       //Constructors
       TestClass()
       {

       }

       TestClass(int numberValue)
       {
            this.numberValue = numberValue;
       }

      //Functions

      private void DoInternalStuff()
      {
           //this function is only visible within the class
      }

      public void DoStuffByCallingThisFunctionFromOutsideTheClass()
      {

      }
}
0
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34387728
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question