C
C#3mo ago
Nyxoy102

✅ Help

I'm new to c# and i have a project where i have to start every line with the character '>', and the problem is that when i type en new line the first letter of the word goes before the '>'
No description
16 Replies
leowest
leowest3mo ago
$details
MODiX
MODiX3mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
Nyxoy102
Nyxoy1023mo ago
No description
Nyxoy102
Nyxoy1023mo ago
i want it so the '>' goes before the word i wanna type
leowest
leowest3mo ago
I dont see in your code where it would cause the letter to be in front that way thou Console.Write("> "); will print > without moving to the next Console.ReadLine() without true will display what you're typing on the current line and then u hit enter it will print so in the above code there is nothing that does h> ello
Nyxoy102
Nyxoy1023mo ago
so my code is right ?
leowest
leowest3mo ago
ah ok I see the problem u have to remove Console.ReadKey() that is what gives u the letter before
Nyxoy102
Nyxoy1023mo ago
ow
leowest
leowest3mo ago
Console.ReadKey() will wait until u type a letter so u type h
Nyxoy102
Nyxoy1023mo ago
No description
Nyxoy102
Nyxoy1023mo ago
😄
leowest
leowest3mo ago
👍
Nyxoy102
Nyxoy1023mo ago
that was a stupid mistake
leowest
leowest3mo ago
no worries I almost missed it too haha $close
MODiX
MODiX3mo ago
Use the /close command to mark a forum thread as answered
Nyxoy102
Nyxoy1023mo ago
thanks
Want results from more Discord servers?
Add your server
More Posts
SignalRHi, I am trying to create a Notification feature for my application and I figured it should be Real-Implementing keyauth the .csHow do I implement keyauth into a .cs gui✅ Looking for a way to Extract information from a txt FileLooking to Extracting Particular Information form the Log File. The Information I would like to extrI just published an update to Azure, but for some reason the header access-control-allow-headersWhen using Azure Web App, for some reason i can't add the access-control-allow-headers header. I eveSegmentation fault using Debian Bookworm ARM64v8 image during dotnet restore in dockerI'm getting a strange error named "Segmentation fault (core dumped)" when trying to build my dockerf✅ How to get value of DatePicker from nested UserControl Avalonia```xml <!-- in new user view --> <UserControl xmlns:uc="clr-namespace:MathGame.Views.UserControls;as✅ Styling Avalonia DatePicker ControlMy Code: https://pastebin.com/v057vZCS Avalonia Code For DatePicker Style: https://pastebin.com/Qewx✅ Key bind for closing a console program while console/visual studio is out of focusHello, I wonder if there is a key bind that closes/stops a running program in Visual studio. It is Powershellwhy i cannot delete powershell, or add file in drivers folder (I think the reason is the same) by c#I want to make a dynamic compiler of c# code and with that have a console on the web page, using thiI want to make a dynamic compiler of c# code and with that have a console on the web page, using thi