String.EndsWithで、そのインスタンスの文字列が、指定の文字列終わりであるかを判定する。
String.EndsWith メソッド (System) | Microsoft Learn
MainClass.csで、
こう書く。
![こうなる。](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20241230/20241230164556.png)
こうなる。
Sample/dotnet/String/EndsWith/src/String_ at master · bg1bgst333/Sample · GitHub
String.EndsWithで、そのインスタンスの文字列が、指定の文字列終わりであるかを判定する。
String.EndsWith メソッド (System) | Microsoft Learn
MainClass.csで、
こう書く。
こうなる。
Sample/dotnet/String/EndsWith/src/String_ at master · bg1bgst333/Sample · GitHub