✅ Practicing delegates
I've asked chat GPT to give me some good pseudo applications I could create with .NET, C# to practice everything about delegates.
The answer that was given to me is:
Wanted to ask you guys what you thought about this and maybe someone has some more input for me. Maybe a suggestion with which one I should start?
I am not new to delegates, but I have never truly dedicated an application to practice delegates.
14 Replies
Not worth the time investment, IMO. Practice them when you actually need to because you hardly use
delegate
directly in typical code bases. You'll use lambdas / Func
/ Action
way more than delegate
.
The calculator is the easiest option: defining binary and unary delegates. You're done with a basic console calculator app in probably < 300 LoC.@Klarth then I suppose it would be better to practice concurrency? async/await?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Nice!! I appreciate the info!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
thats fine 😉
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
nice
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Do you think this is an effective way to learn and practice?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes. it's clear 🙂
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.