?
Solved

architecture class creation in c#

Posted on 2010-11-17
5
Medium Priority
?
282 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
[X]
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
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 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

764 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