C
C#13mo ago
StrixyBixy

how do i display this array

Hi. Im having an issue with displaying an string array. the way it comes out is like this. you can see it the screenshot before the debug statement
No description
11 Replies
StrixyBixy
StrixyBixyOP13mo ago
No description
StrixyBixy
StrixyBixyOP13mo ago
on the bottom is my write out
Angius
Angius13mo ago
Uh Write the joined string to the console Not the source array See how student_names_string is darker and has the first letter underlined? That means you're not using this variable
StrixyBixy
StrixyBixyOP13mo ago
okay i got it now but the problem is that it lists the ones under average but there is a bunch of commas
StrixyBixy
StrixyBixyOP13mo ago
No description
StrixyBixy
StrixyBixyOP13mo ago
nvm i think i can solve this
Angius
Angius13mo ago
Those are the empty elements, I'd assume
StrixyBixy
StrixyBixyOP13mo ago
yeah how would i remove those
Angius
Angius13mo ago
Could filter the array before joining LINQ .Where() would be useful here
StrixyBixy
StrixyBixyOP13mo ago
sweet man thank you
StrixyBixy
StrixyBixyOP13mo ago
No description
Want results from more Discord servers?
Add your server