Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
程式語言的問題,高手解答
Apr 19th 2013, 13:06

C#
 利用Random類別產生七個1~49之間的號碼,號碼不能重複,並使用一維陣列存放。按下一個按鈕後,將七個號碼依序顯示出來

這是書中的一道題目,沒有付解答
小弟無才~不會寫Random不重複的,也不知道如何合併到陣列中!!!
只會單純Random使用方法。

希望高手可以解答...

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: Thatcher's Tyrants - The Tanks, The Guns, The Christmas Cards.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    candycrushsaga2 發表在 痞客邦 留言(0) 人氣()