Limited Past
Limited Past
CC#
Created by Limited Past on 12/28/2022 in #help
✅ Quickest way to get a number of decimal places based on an int?
For example, if i input 3 then the output would be 0.001 (3 decimal places to the right) I could divide the value by 10 for n amount of times but was hoping there may be a cleaner and easier way?
5 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
I start a Task and then use Console.ReadKey to stop the program from exiting. I want to use ReadKey again in the Task but the first key it reads is from the first Console.ReadKey that I use to stop the program from exiting....Does anyone know a solution to this?
20 replies
CC#
Created by Limited Past on 11/21/2022 in #help
❔ Quickest way to get an async function to run?
I have an async function with an await inside and I'm currently using Task.Run to start it, but there is a small delay in starting. Is there a way to make it run straight away?
7 replies
CC#
Created by Limited Past on 10/7/2022 in #help
Websocket buffer size performance and latency
I'm trying to figure out what buffer size to have, does having a lower buffer size increase or decrease latency? I'm wanting the quickest latency possible
5 replies