Category Archives: Intermediate

The Question Mark: In-Line If Statements

While working on bigger projects during my internship, I came across multiple uses of a question mark symbol “?” in the code. I did some research and learnt that they are essentially used for in-line if statements. I now use … Continue reading

Posted in C#, Intermediate, Tutorial | Tagged , , , | 4 Comments

Passing a Method as a Parameter

I have been working through a few tutorials so as to further my knowledge of 3D programming. In these instances, I’ve been learning about how to do 3D in XNA. While learning about quaternions and matrices, I came across a … Continue reading

Posted in C#, Intermediate, Tutorial | Tagged , , | Leave a comment

Anonymous Functions, Func and .Where

When you mess around with lists and IEnumerable, looking at all the options which are available, you find seemingly useful methods such as “Where”, but they come with scary parameters such as Func<T, Boolean><t, boolean=””>. Until recently I just ignored these … Continue reading

Posted in C#, Intermediate, Tutorial | Tagged , , , , , , , | 1 Comment