I need to create a exam system. i have to give 20 question in a list. it should display 10 question randomly in a form. how can i do this in c#.dotnet?
please anyone help me
sinthurika
0
Newbie Poster
Recommended Answers
Jump to PostWhat have you already tried for yourself?
Glad to comment on that!
Jump to PostFollows these steps:
1. Add 10 question into an instance of ArrayList.
2. Generate random number between 0-9 and store it in 'index'
int variable. (Use Random class).
3. Display arraylist item at 'index'.
4. Remove arraylist item at 'index'.
5. Generate random number between 0 to 8 and store …
All 7 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
kvprajapati
1,826
Posting Genius
Team Colleague
ddanbe
2,724
Professional Procrastinator
Featured Poster
sinthurika
0
Newbie Poster
serkan sendur
821
Postaholic
Banned
allets
0
Newbie Poster
ChrisHunter
152
Posting Whiz in Training
Featured Poster
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.