Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

dnahelix

@dnahelix
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to use arrays as properties of a class?
    D dnahelix

    I thank you all for your kind help. Leslie Sanford's example looks wonderful. I shall implement this and see. Thanks again:)

    dnahelix

    C# tutorial question data-structures help

  • How to use arrays as properties of a class?
    D dnahelix

    I am unable to figure out how to use the get-set style public properties to manipulate the private arrays of that class? for example public class Patient { private string[] m_labValues //this is what i am clueless about. //how do i get down to elements of this array? //i am sure that this implementation is wrong. public string LabValues { get { return m_labValues; } set { m_labValues = value; } } } from my main class i desire an ability to directly manipulate the elements...like: private Patient patient = new Patient(); patient.LabValues=new String[6]; patient.LabValues[0]="B.P is 120,80"; patient.LabValues[1]="Blood Sugar is 160" .. .. .. I'm totally clueless about implementing this. I understand that if i declare the m_LabValues itself as public, i will be able to manipulate it directly with out using the get-set style Can some one please help me?

    dnahelix

    C# tutorial question data-structures help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups