Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は何をしますか?
それを示すエラー
文字リテラルの文字数が多すぎます
using(var fileStream = appStorage.OpenFile!('note.txt', System.IO.FileMode.OpenOrCreate))
あなたの問題はここにあります:
'note.txt'
次のように変更する必要があります。
"note.txt"
一重引用符は を定義するために使用されるcharので'c'、'a'または'm'はすべて一重引用符の有効な使用法です。複数の文字を使用する場合は、文字列を定義しているため、二重引用符を使用する必要があります。
char
'c'
'a'
'm'
!そして、インを取り除きますOpenFile!
!
OpenFile!