Interviewing @ Partena – Thursday 24/01/2019

I’m expecting my current project @ Ypto to end around the 31st of March. Nothing unusual off course, it merely means I’ll have to look for something new.

I started looking early January this year, through a company called Talencia Consulting I was offered a project for Partena in Brussels. I didn’t get a lot of information, only the following -rather vague – job description:

  • C#
  • jQuery
  • Bootstrap
  • WinForms
  • WCF
  • ASP .NET
  • Web services

It still sounded interesting, so I allowed them to present my CV to the client.

Feedback came the very same day, the client wanted to meet me asap. I agreed for an interview 2 days later.

I was given an address, and basically told to meet Talencia’s account manager (Ilyesse Maouan) 15 minutes beforehand. He would brief me a bit more in detail, after which I would have a chat with Partena’s ICT Solution Architect Eric Van Coillie and then take a written technical test.

The test consisted of 15 questions, most of them being logic & coding questions, designed to “test” your basic understanding of .NET/C#. Personally, I believe tests like that to be a complete waste of time, but unfortunately in this line of work…

I believe in coming prepared, I always do research on both the company and on the people, I’m expected to meet. I’ve been playing around with the idea of doing the same with the tests.

What I have in mind isn’t complicated. Instead of writing things down in my little black book I’ll blog about my experiences and the questions I was asked to answer.

Talking about things is said to be therapeutically, and with some luck I’ll get some useful feedback on what was asked & answered…

As I already said, the written test consisted of 15 questions, 10 of them were organized around 2 code samples.

Today I’m starting with the easiest of the two. J A couple of .NET questions regarding a basic console application.

Given the following code:

using System;

namespace TestPrefixInConsole
{
    class MainClass
    {

        public static int AddOneToSomethingPrefix(int value)
        {
            return ++value;
        }
        public static int AddOneToSomethingPostfix(int value)
        {
            return value++;
        }

        public static void Main(string[] args)
        {
            //  Test on ++x
            Console.WriteLine($”value = {AddOneToSomethingPrefix(5)});

            //  Test on x++
            Console.WriteLine($”value = {AddOneToSomethingPostfix(5)});
        }
    }
}

  1. How come we can use the method AddOneToSomethingPrefix without having to instantiate the class MainClass?
  2. What is the output generated by the Main method?

I’ll add my answers and the other questions later…

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s