i am trying to add notepad or make notepad in wpf. but there is a line in tutorials "DataTable note= new DataTable" i am not able to add in Visual studio 2022. add after that when I try to add it in my .xaml.cs file the app keeps on crashing. i had to undo and restart the app but it's not entering. the errror is
"can't add" to "can't find dataTable in window"..
i need to submit project in uni.
help me. how to make notepad(note taking app)