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.
これは私のコードでNot all code paths return a value、ラムダ式でエラーが発生します。
Not all code paths return a value
skdForm.onSentinelKeyWrite += (s) => { releaseSentinelData = s; };
どんな体でも私を助けてくれますか?
ご覧のとおりdelSentinelKeyWrite(string data)、文字列を返す必要があります。
delSentinelKeyWrite(string data)
skdForm.onSentinelKeyWrite += (s) => { releaseSentinelData = s; return s; };