Press "Enter" to skip to content

Category: C_sharp

TypeInitializationException

There is some kind of errors, which you can easily fix by edit (or move) only one line of code. My last error is one of them. I don’t remember when I made it, because I can’t recall a birthday of my last line written by hand). Ok, not completely by hand, because I used snippet “propdp”, which are used to generate properties, which we can use from XAML level for example. This snippet before edition looks like this (after double tab):

Unbelievable but true, chapter 1

I have such a colleague, let’s call him a footballer with a guitar because he wanted to be anonymous (but he allowed the publication of tasks and solutions).
At some point, he went to the board and wrote “Sum (1) (2) (3) ()) -> has to return the number” and said that we have 10 minutes from now. He also mentioned that it has the potential to be a recruitment task for seniors, because you have to think a little outside the box.