© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
11mo ago
•
6 replies
teq
array exercise
i want to generate numbers that are unique and dont duplicate int
[
] x
= new int
[10
]
;
for
(int i
= 0
; i
< x
.Length
; i
+
+
)
{
x
[i
]
= Random
.Shared
.Next
(15
)
;
Console
.WriteLine
(
$
"
{x
[i
]
}
"
)
;
}
any way to do this without built in methods
?
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
❔ exercise without datetime
C
C# / help
3y ago
Pipeline(algorithm exercise)
C
C# / help
4y ago
Inheritance exercise problem. SOLVED
C
C# / help
15mo ago
❔ help with an exercise
C
C# / help
3y ago