Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ I don´t understand this line of code at all (random char letter) - C#
C
C#
•
3y ago
•
19 replies
Emelie
❔ I don´t understand this line of code at all (random char letter)
Hi
, I am finding it really hard to understand how its possible to randomize a letter like this
:
Random rnd
= new Random
(
)
;
char randomChar
=
(char
)rnd
.Next
(
'a
'
,
'z
'
)
;
I thought that the Next
(
) method only could take int
's as a parameter
?
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
❔ Random Letter
C
C# / help
4y ago
✅ I don't understand GC
C
C# / help
4y ago
I don't understand what this is asking for at all (sry for bad title) [Answered]
C
C# / help
4y ago
I don't understand this warning: BL Mapping (Mapperly)
C
C# / help
13mo ago