© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
23 replies
sunny innit

✅ Case 3 of my code.

So im trying to create a program within Visual studios in c# as part of an assignment.

The program is supposed to create and present a String vector;

1) tells you to enter 5 elements
2) lists all 5 elements you entered
3) lets you search within these indexes, incase it's one of the 5 elements you entered.
If it finds it it tells gives you a message i wrote where it says "Success, the value is present in index #", If not it should tell you that the value you entered doesnt exist.
4) Quits the program.

Now the program works flawlessly; Except that when you use 3) it doesn't prompt the "The value you entered doesn't exist.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Review my Code of Pong
C#CC# / help
8mo ago
✅ Strange output of my code
C#CC# / help
2y ago
What affects the speed of my code?
C#CC# / help
12mo ago