Good job! I knew you’d be able to figure this out yourself. 
I made it work, it was simple, but I do not get how the () are put after the <> and then semicolons.
That’s fine. There is not much C# syntax to learn. Just look up some example, and try to apply the pattern as you did. If you do that a couple of times, you know C# (the programming language).
Method calls have the following pattern: DoSomething(). You already know a few examples such as Update(), Start() and Debug.Log().
The methods with <>
are so-called generic methods. We always have Name<Type>()
. <Type>
comes directly after the name. The ()
always come at the end of a method to invoke the method. Name()<Type>
is always wrong.
Later in this course, you’ll see List<QuestionSO>()
where we generate a list of type QuestionSO to which we will be able to assign QuestionSO objects. It’s the same principle.