© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•9mo ago•
14 replies
I dont know

✅ Need help implementing support for quoting with single quotes

Hello, I'm currently undertaking the "Build your own Shell" challenge on CodeCrafters using C#. My current task is to "Implement support for quoting with single quotes.". I have tried a few things, but have so far been unsuccessful.

Here are the instructions for the task:
https://pastebin.com/QEwfKAcB

Here is my first attempt, along with the test it failed:
https://pastebin.com/z4FkSmkQ

So then, I fiddled with it a bit, but couldn't get it to work, so I told ChatGPT what was going on, which gave me this code to define
parts
parts
, which passes the previous test, but fails a different one:
https://pastebin.com/VTpwBHZL

I don't believe this is caused by my code for running executable files, as this does work, so I believe the problem lies within the above code that ChatGPT gave me.
As a result, I showed ChatGPT the issue, but it just gave me some code similar to my first attempt, which, again, didn't work.

I could no longer be bothered using ChatGPT as it was just going around in circles, so I thought it would be better to get some help from real human beings.
I apologise for the lengthy message, but I hope someone can help.
Thanks in advance!
Pastebin
Instructions - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
1st attempt - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
2nd attempt - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

❔ Need help implementing a toolbox
C#CC# / help
3y ago
❔ Need help with implementing scanning from client side in .Net 5.0.
C#CC# / help
3y ago
I need help implementing recursion in a general way
C#CC# / help
15mo ago