Hi everyone, I've been trying to insert a Separator in my date textbox in real time. Tried a few things and just not coming right. I'm still learning and very new in windows forms using C#. I got a textbox and want to insert "20211008" and want the output "2021/10/08" on real time. Please can someone point me in to the right direction? Thank you in advance.
Textbox Date Separator in real time
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sachin SinghRank #66 · 26.2K reputationPosted Oct 10, 2021, 12:49 AM EDT
Use the MaskedTexdBox control instead of TextBox and simply set its mask to ShortDate.
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 10, 2021, 5:05 AM EDT