Search
Setup for Free
C
C#
•
3y ago
jamster46610
❔ trying to detect when the enter key is pressed
using ReadKey
(
) but i dont know what the Enter key is to put in here
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,155
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
J
jamster46610
OP
•
1/17/23, 12:19 PM
running in
.Net
J
jamster46610
OP
•
1/17/23, 12:20 PM
i am somewhat new to c
#
B
Buddy
•
1/17/23, 12:32 PM
https://learn.microsoft.com/en-us/dotnet/api/system.console.readkey?view=net-7.0
B
Buddy
•
1/17/23, 12:32 PM
Always look up docs when you
're stuck
J
jamster46610
OP
•
1/17/23, 12:32 PM
i know i checked through there but the enter key isnt explained
B
Buddy
•
1/17/23, 12:32 PM
B
Buddy
•
1/17/23, 12:32 PM
https://learn.microsoft.com/en-us/dotnet/api/system.consolekey?view=net-7.0
J
jamster46610
OP
•
1/17/23, 12:34 PM
Ah
J
jamster46610
OP
•
1/17/23, 12:34 PM
this is it lmao i couldnt find it
J
jamster46610
OP
•
1/17/23, 12:34 PM
thanks
A
Accord
•
1/18/23, 12:37 PM
Looks like nothing has happened here
. I will mark this as stale and this post will be archived until there is new activity
.
Similar Threads
❔ Stop a loop when a key is pressed
C
C# / help
3y ago
trying to get object to enable when space is pressed
C
C# / help
7mo ago
✅ Detect key press outside of the form
C
C# / help
2y ago
❔ how to detect when you close the window
C
C# / help
3y ago