I have a class Gambler and a bet class

and I have a field named MyBet but is bet type

Gamer[0] = new gambler() { Name = "Joe", Mymoney = 100, MyBEt =  ApuestasNUD.Value, Milabel = label4, MiradioButton = JoeRBT };

ApuestaNUD is a NumericUpdown but I cant convert to Bet type how can I do that?

What are the possible "Bet Types" ?
NumericUpDown works on numeric values. Is this bet type a enumeration ? or a real value (like an integer) ?

IOW, what are you expecting to place in the NumericUpDown.Value property ?

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.