Posts by Jônatas Dourado Porto • 66 points
3 posts
-
0
votes4
answers428
viewsA: How to validate data passed to a constructor?
Constructor cannot return anything beyond the class in question. Example: new ContaFisica(bla, bla, bla); returns only the Object ContaFisica, so how could a return boolean? It is for this fact that…
-
1
votes0
answers29
viewsQ: Read memory variable(Baseddress + Offset)
I’m trying to read a variable within another process, in the case of the game "Spider Solitaire". So far it’s all worked out, but when I close the game and open again it doesn’t work anymore. I know…
-
4
votes1
answer246
viewsA: How to show all the numbers of a loop at once in C#?
Just change the Console.Readkey(); out of the for, under it. So he’ll print out all the numbers and then he’ll wait for the key. for (i = 1; i <= numero; i++){ Console.WriteLine($"O número é:…