mxshiiツ
mxshiiツ
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
<3
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
thx @canton7
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
ok ok got it
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
so i dont understand this msg
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
also i still didnt reach the IEnumerator
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
yea
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
more like if statement but with loop
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
so while acts as a "gate"
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
so if the int current = 3 or bigger than 3 we will enter the while loop
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
like
Random random = new Random();
int current = random.Next(1, 11);

while (current >= 3)
{
Console.WriteLine(current);
current = random.Next(1, 11);
}
Console.WriteLine($"Last number: {current}");
Random random = new Random();
int current = random.Next(1, 11);

while (current >= 3)
{
Console.WriteLine(current);
current = random.Next(1, 11);
}
Console.WriteLine($"Last number: {current}");
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
i see but what are they used for like tell me an example when to use these bec tbh i am lost xd also while statement act as a "gate" if counter is < limit we will enter the while statement and iterate the code block till it evaluates to false
24 replies
CC#
Created by mxshiiツ on 8/12/2024 in #help
✅ help with basic c#
the thing is i dont know when to use for, foreach, while, do-while i am new here bare with me
24 replies
CC#
Created by mxshiiツ on 5/3/2023 in #help
❔ unity footstep sound sys
oh ok thx<3
9 replies
CC#
Created by mxshiiツ on 5/3/2023 in #help
❔ unity footstep sound sys
its actually playing
9 replies