Earlier quoted context omitted.
Winforms will never die. If I was looking to make an investment into a skillset that will still be really useful in thirty years, I would go deep on WinForms.
Hum, my last winform app is from 2009, after that all projects ordered from customers where in web ui instead (same customers)
But WinForms is immensely useful in building tools, and configuration utilities, and little one-off GUI things for various reasons. Anything that would take less time to slam together soup-to-nuts than just getting webpack working for a new project would take.