dragon
Explore posts from servers✅ Trying to make an undo function on my paint program thingie
so i started making a paint program in vs console bc i was bored and i need to rack up experience in coding, but im unsure of how to utilise stacks/ why my code doesnt work https://paste.mod.gg/rokqfntmjjcd/0 my entire code is in there and ill add snippets i dont understand in replies
8 replies
✅ Is it possible to ask check for a keypress without pausing the whole console?
Kinda new to c# so i dont rlly know alot, but i started a project and i literally have no clue how to ask for a keypress w out pausing and waiting for one, ive seen examples on stack like
Task.Factory.StartNew(() => Console.ReadKey(true)).Wait(TimeSpan.FromSeconds(0.2)); but i cant assign that to var key to use as controls etc, if anyone wants to check through my code more i can send screenshtos or try open a git
Task.Factory.StartNew(() => Console.ReadKey(true)).Wait(TimeSpan.FromSeconds(0.2)); but i cant assign that to var key to use as controls etc, if anyone wants to check through my code more i can send screenshtos or try open a git
94 replies