C# Class P02Project.Utils.Question

Datei anzeigen Open project: raouldc/OptiDev Class Usage Examples

Public Properties

Property Type Description
rand Random

Public Methods

Method Description
Answer ( String answer ) : bool
Question ( String QuestionContent, String answer, List allOptions, String imagePath, String hint ) : System
fifty_fifty ( ) : void

Private Methods

Method Description
randomizeOptions ( List options ) : void

Method Details

Answer() public method

public Answer ( String answer ) : bool
answer String
return bool

Question() public method

public Question ( String QuestionContent, String answer, List allOptions, String imagePath, String hint ) : System
QuestionContent String
answer String
allOptions List
imagePath String
hint String
return System

fifty_fifty() public method

public fifty_fifty ( ) : void
return void

Property Details

rand public_oe static_oe property

public static Random rand
return Random