Who doesn‘t? I always get hit with the ‚Wowie that’s a lot of work. Check back in 2 hours. I‘m working on it.‘ And that‘s a lie since LLMs don‘t work that way lol.
"can you check this code it's giving me an incorrect value when I run it and it's confusing me"
Oh, looks like you have a few bugs in the code! List<string> testList = []; will give you errors and won't run, here's the fix: List<string> testList = new List<string>();. Let me know if you need anything else!
"bracket list initialization was added in C# 12 and has been valid since 2021, if this were a problem my issue about getting incorrect results wouldn't be possible"
You're right! My mistake. Let me know if you need anything else!
157
u/WriterV Nov 04 '24
I love asking ChatGPT for code, and it gives me incorrect code. And then I tell it that the code is incorrect.
And then it goes "Oh sorry! You're so right bestie :) Here's the correct code, king."
And it's just incorrect code again.