Show me the one programmer who didn't want to write its own todo list app. In this article, I'll show you how to do that in 10 lines of code, without any external dependencies. Yes, really.
So, let's start with a new console app in .NET 5
Let's give it a name
Now select .NET 5
So, you ask me, how on earth, are you going to implement todo app in 10 lines of code?
The answer is simple, let me explain it step by step.
Let's start with defining your todo tasks.
awesome, tasks defined. Now, go complete them, and after each completed task, come back to your pc and write a method. Like that
After you complete all of your tasks, your program will compile, which means, you have completed your todo list and app at the same time!
You can see which tasks are completed and which are not, in the real time.
Bonus points if your code editor highlights existing methods with green color, and undefined with red.
This is a final code
Thank you for coming to my TED talk.