Mauricio
Error handling through SQL or C#.
How common is it to handle errors and enforce constraints through SQL, with transactions and stored procedures, instead of with C# code?
What is the best practice?
Is there any performance gain or loss by choosing one over the other?
10 replies
✅ Center text prompt.
Hi guys! I have been trying to center a text prompt for a console app but I haven't figured out how to do it. I have tried various methods like SetCursorPosition and the Center method. But nothing seems to work.
Here is the code I've been working with.
https://pastebin.com/UsKeEY9R
6 replies