© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
20 replies
Gladiator
❔ Can I use slice operator with loop index (remainder operator%)?
I want to slice an array from start to end index but if end index exceeds the array length
, loop it and start from index 0
(remainder operator
%
)
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Can't use | operator in case?
C
C# / help
2y ago
foreach loop index error
C
C# / help
2y ago
Why can't I use the null propagation operator in lambda expressions?
C
C# / help
2y ago