if i define a array, for example private int[] lendMoney = new int[10]; do i can use a use property to match this private array? thank you
cljlxwater
0
Newbie Poster
Recommended Answers
Jump to Postof course, the same as you would any other property
public int[] LendMoney { get{return lendMoney;} set{lendMoney = value;} }
Might want to use an arraylist instead, if its not a fixed length
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.