capperstrnd / csharp-live-codetest

The results from a codetest I did live with C# and tasks handed to me in chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kodtest för Consid

Datum: 20240109

Uppgift 1


| | | Uppgift 1 | |___________|

// Create a method with a suitable name and the signature: // public List MethodName(int ageLimit)

// Return all employee names above requested age limit

Uppgift 2


| | | Uppgift 2 | |___________|

// Create a method with a suitable name and the signature: // public Dictionary<string, string[]> MethodName()

// Return a dictionary with employees that has a name starting with the letter "J". // The name should be the key, the value should be an array of Skills.

Uppgift 3


| | | Uppgift 3 | |___________|

// Create a method with a suitable name and the signature: // public async Task MethodName(Weekday day)

// Returns a greeting based on the day.

/* Returns a greeting based on the day of the week.

    Monday: "Happy monday!"
    Tuesday: No greeting (empty string)
    Wednesday: No greeting  (empty string)
    Thursday: No greeting  (empty string)
    Friday: "Relax"
    Saturday: "Relax"
    Sunday: "Relax"

*/

Avslutande tankar

Relativt enkelt och fick respons att jag löste det mycket snabbare än snittet, hade till och med käppar i hjulen för att jag inte har fullstora Visual Studio installerat men klarade mig ändå med commandline dotnet/VS Code. Fick ta enklare livlinor bara för min autocomplete inte fungerade med vad metoderna hette (Google, not ChatGPT).

Lyckades även få med att jobba hos kund eller in-house har jag ingen preferens för, men hoppas kunna få god kundkontakt utöver det normala via vanlife - då jag kan kombinera de dagar jag jobbar distans med att landa hos kunden även om de inte är lokala utan kanske är i Norrland men ändå kan komma och jobba hos de en vecka.

About

The results from a codetest I did live with C# and tasks handed to me in chat


Languages

Language:C# 100.0%