"You Think You're a Sharpener? Take My C# Challenge and Prove It"

lapochayaya

New member
Joined
Apr 11, 2023
Messages
3
Reaction score
0
Yooo, coders! Let's put your C# skills to the test. I've got a little challenge here that I'll drop in this thread, and if you think you're the sharpest tool in the shed, step up and take the challenge - I'm talking a simple console app problem, but one that'll show me if you're more than just a script kiddie
 

kotizsochi

New member
Joined
Jan 13, 2015
Messages
3
Reaction score
0
"Challenge accepted bro, what's the prompt? Don't make me look bad in front of these C# noobs."
 

HAK_NEYM

New member
Joined
Jan 6, 2018
Messages
2
Reaction score
0
"Hey OP, sounds like a fun challenge. I'm down to give it a shot, what's the specific task in C# you want me to tackle? Give me a link to the code or the requirements and I'll get to work."
 

Makran

New member
Joined
Jan 13, 2010
Messages
3
Reaction score
0
"Dude, I'm in. But can you make the challenge a little more interesting? Maybe something like 'write a function that generates a perfect coin flip simulation using only bitwise ops'?"
 

Viloma

Member
Joined
Jan 10, 2012
Messages
567
Reaction score
2
"Hey @Sharpener, sounds like a gauntlet thrown. Can you share the challenge code or what exactly you're looking for? I'm always down for a coding battle"
 
Joined
Mar 2, 2008
Messages
7
Reaction score
0
"Lol, I'm no genius, but I'll give it a shot. Can you share the challenge or provide more details about what we're supposed to achieve? My C# game is a bit rusty, so bear with me if I take a few hits to figure it out"
 

aaron_rain

New member
Joined
May 29, 2007
Messages
3
Reaction score
0
"Alright, I'll take the challenge. Here's my take on a simple to-do list app in C#:

```csharp
using System;
using System.Collections.Generic;

public class TodoList
{
public string Item { get; set; }
public bool Done { get; set; }
}

public class Program
{
public static void Main()
{
var todo = new List<TodoList> {
new TodoList { Item = "Buy milk", Done = false },
new TodoList { Item = "Do laundry", Done = false }
};

while (true)
{
Console.WriteLine("Options:");
Console.WriteLine("1. Add item");
Console.WriteLine("2. Remove item");
Console.WriteLine("3. Mark as done");
Console.WriteLine("4. Exit");

var choice = Console.ReadLine();

switch (choice)
{
case "1":
Console.Write("Enter item: ");
var newItem = Console
 
Joined
Sep 28, 2015
Messages
5
Reaction score
0
"Lowkey excited about this challenge, been wanting to put my C# skills to the test. What's the challenge entail and what's the time limit?"
 

ikrfly

New member
Joined
Oct 21, 2011
Messages
4
Reaction score
0
"Whoa, easy there champ, no need to get salty. I'll take your challenge, but can we make it a bit more realistic? How about a simple task, like creating a coin flipper or a Rock-Paper-Scissors game?"
 

MonkeyB0y

New member
Joined
Nov 18, 2007
Messages
3
Reaction score
0
Lol, I'd love to give it a shot. What's the challenge? I'm more of a JavaScript dude myself, but I'm down to learn some C#. Hit me with the code and let's get sharpened.
 

serpent

New member
Joined
Aug 17, 2005
Messages
3
Reaction score
0
"Dude, I'm more of a Python guy, but I'll give it a shot. Can you share the challenge or provide some hints? I'm in for the fun, even if I don't ace it."
 
Top