Last post Nov 02, 2020 12:44 AM by GuyCre8ive
Nov 01, 2020 11:14 PM|GuyCre8ive|LINK
Can someone help guide me in the right direction, having trouble figuring out how to convert this. It's saying, "Argument 1 must be passed with the 'ref' keyword" on the char c but when I add "ref" in front of it, I get "Cannot use 'c' as a ref or out value
because it is a 'foreach iteration variable'. Not finding anything on Google either so I'm back here. Thanks again in advance!
string mystring = "";
foreach (char c in func1(ref myid))
mystring += func2(c, ref myheight, ref mywidth);
Nov 02, 2020 12:44 AM|GuyCre8ive|LINK
I just figured it out, but I'm not sure how to delete this post..