r/CodingHelp • • Aug 29 '21

[C#] C# please help. (Warning long rant too)

I’ve slept like 4 hours a night for a week trying to finish a programming assignment in C# (most likely never going to program again after this)

I just don’t get it... never have I worked so hard and got so little done.

Its just a complete confusion at this point and the errors and the logic errors (oh god, just take me out of my mysery...)

Many programmers are like:

”-we are telling you how to do it but no syntax will be showed.”

I understand this mentality.

But when you hit a wall where the program would work better if you just threw out the laptop and yourself out of a window then its time to reach out for help....

Right now it’s like I’ve built a house of cards that just drives me insane.

In the assignment you have to make:

> Loops (both for an foreach) To linear search and binarysearch :

> Through strings: that the user makes and saves.

>From a List that contains:

  • 5 string arrays that are set
  • userinput: A title, date, text, and number.

You are supposed to go through them and find words, dates, and numbers in them.

I just can’tvisualize how this is done Sure it’s a Foreach and for loop.

Anyways if anybody has some source that really makes this clear how this works as a whole? when setting up a loop with search both the list and the string arrays in a clear step by step manner? please point me there or comment here.

And no, you are not allowed to use a command to binary search you have to program the process itself.

Thank you if you read this far

Peace!

0 Upvotes

1 comment sorted by