Solved

architecture class creation in c#

Posted on 2010-11-17
5
276 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
Comment Utility
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
Comment Utility
i want to know basically the architecture of creation of a class.
0
 
LVL 7

Accepted Solution

by:
keustermans earned 125 total points
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now