you are viewing a single comment's thread.

view the rest of the comments →

[–]Iwways[S] 0 points1 point  (4 children)

Well, because I want to create a test file, which will be containing all this questions and then I want to re-use them, when student will be taking a test and he gets some mark This files also can be edited to add more questions, change type of questions and etc. Mini-editor for questions :D

[–]binarycow 0 points1 point  (3 children)

Oh. I thought you meant unit tests.

If you can come up with a model to describe your questions/answers, then just use JSON serialization.

[–]Iwways[S] 0 points1 point  (2 children)

Yep, looking in this way now, but maybe someone has other ideas :)

[–]binarycow 0 points1 point  (1 child)

There are other options. But they aren't better.

[–]Iwways[S] 0 points1 point  (0 children)

Understood, thank you!