tag:crieit.net,2005:https://crieit.net/tags/%E5%88%9D%E7%B4%9A%E8%80%85%E5%90%91%E3%81%91/feed 「初級者向け」の記事 - Crieit Crieitでタグ「初級者向け」に投稿された最近の記事 2019-09-21T11:01:00+09:00 https://crieit.net/tags/%E5%88%9D%E7%B4%9A%E8%80%85%E5%90%91%E3%81%91/feed tag:crieit.net,2005:PublicArticle/15412 2019-09-21T08:29:03+09:00 2019-09-21T11:01:00+09:00 https://crieit.net/posts/C-5d8560bfc5c3f C#名前一覧☆(^~^)<初級者向け><書きかけ> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 Unityでゲーム作ってる連中で、 ゲームを作ることはできるが C# の <strong>文法</strong> 分かんね、投ーげた、とか言ってるやつ いるだろ☆<br /> 下記のWebサイトで 50時間ぐらい C# を学習するのがベストだが そんなんやってられね、というやつのために☆」</p> <p><a target="_blank" rel="nofollow noopener" href="https://www.atmarkit.co.jp/ait/subtop/features/dotnet/csharp_abc2_index.html">連載  改訂版 C#入門</a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 即効性のある方法を教えてやろう☆ 物の名前を覚えることだぜ☆<br /> そして グーグル検索に <code>物の名前 is fail.</code> とか <code>物の名前 is not work.</code> と入れて検索しろ☆」</p> <p><a href="https://crieit.now.sh/upload_images/24bce1f921dca30aa7624c21a47cea495d854baeb5bdc.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/24bce1f921dca30aa7624c21a47cea495d854baeb5bdc.png?mw=700" alt="20190921cs1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 こんな感じで C#プログラムを眺めているとしよう☆ 今回はC#の文法に範囲を絞って 説明する☆」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 寝てればいいのに……☆」</p> <p><a href="https://crieit.now.sh/upload_images/058791c2dd4c1604ce1bd9ec26d490ae5d854c0a14427.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/058791c2dd4c1604ce1bd9ec26d490ae5d854c0a14427.gif?mw=700" alt="OKAZAKI_Yumemi_80x80x8_02_Syaberu.gif" /></a><br /> 「 あんたは Rust 使いでしょ! Unity や C# なんかやってないで コンピューター囲碁作ってればいいのに!」</p> <h2 id="Using directive; ユージング ディレクティブ"><a href="#Using+directive%3B+%E3%83%A6%E3%83%BC%E3%82%B8%E3%83%B3%E3%82%B0+%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%86%E3%82%A3%E3%83%96">Using directive; ユージング ディレクティブ</a></h2> <p><a href="https://crieit.now.sh/upload_images/7b297d779e132a0299e09d1d906e2d015d854c9328051.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/7b297d779e132a0299e09d1d906e2d015d854c9328051.png?mw=700" alt="20190921cs2.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 なんか呪文で これは書くことが決まってるから 書いてる、とか そんなんだろ☆」</p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 使い方のチップ(小ネタ)としては☆」</p> <p><a href="https://crieit.now.sh/upload_images/44abd5442fdd93d3c637513bc713af125d854dbc013bc.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/44abd5442fdd93d3c637513bc713af125d854dbc013bc.png?mw=700" alt="20190921cs3a1b1.png" /></a></p> <pre><code>using Diag = System.Diagnostics; ^^^^^^ Alies ### Omitted. Diag.Trace.WriteLine($@"Test 1 | {value}"); ^^^^^^^^^^ </code></pre> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 名前が被っていた場合 エイリアス(Alies; 別名)を付けることで 区別することができる☆」</p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 しかし気になるな……☆」</p> <p><a href="https://crieit.now.sh/upload_images/62010edf0171bdf58da01e728e9a526f5d854f660432b.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/62010edf0171bdf58da01e728e9a526f5d854f660432b.png?mw=700" alt="20190921cs4a1b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 特にこだわりがなければ コード分析から <code>Microsoft のすべての規則</code> を選べだぜ☆」</p> <h2 id="Namespace declaration; ネームスペース デクレーション"><a href="#Namespace+declaration%3B+%E3%83%8D%E3%83%BC%E3%83%A0%E3%82%B9%E3%83%9A%E3%83%BC%E3%82%B9+%E3%83%87%E3%82%AF%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3">Namespace declaration; ネームスペース デクレーション</a></h2> <p><a href="https://crieit.now.sh/upload_images/6a008bb275283ec0b66207da6d99f2f05d8550be7d3c7.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/6a008bb275283ec0b66207da6d99f2f05d8550be7d3c7.png?mw=700" alt="20190921cs5a1b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 みな Microsoftからの推奨事項がないと思って 適当にネームスペースを使っているが まあ いいだろう☆<br /> Microsoftは 特別扱いなんで推奨事項を使わないし、みな Microsoft のサンプルを真似るから 誰も推奨事項があることを知らない☆」</p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 別の言語では Using declaration (ユージング・デクレーション) と呼んだりする☆<br /> directive (ディレクティブ; 指令)は そこに行ってこい、という意味で、 declaration (デクレーション; 宣言)は ここはどこなんだ、という意味だぜ☆」</p> <p><a href="https://crieit.now.sh/upload_images/2e72100909acb4c875a5dc4ec64e726e5d8552ee68f40.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/2e72100909acb4c875a5dc4ec64e726e5d8552ee68f40.png?mw=700" alt="20190921cs6a1b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 declaration (デクレーション) は わたしが決める という意味なんで、勝手に付けることができる☆」</p> <h2 id="Class; クラス"><a href="#Class%3B+%E3%82%AF%E3%83%A9%E3%82%B9">Class; クラス</a></h2> <p><a href="https://crieit.now.sh/upload_images/e6fb981746ae2d2f840b087f7f517f035d8553c86215a.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/e6fb981746ae2d2f840b087f7f517f035d8553c86215a.png?mw=700" alt="20190921cs1a3b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 クラスも最初は 呪文でいいだろう☆ いろんな種類がある☆」</p> <p><a href="https://crieit.now.sh/upload_images/ff0e74e70e4d620405288ccd4d9666415d855661274ea.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/ff0e74e70e4d620405288ccd4d9666415d855661274ea.png?mw=700" alt="20190921cs7a2.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 分かんなかったら <code>public class</code> でゴリ押し しろだぜ☆ たまに失敗すると思うが なんとかしろ☆」</p> <p><a href="https://crieit.now.sh/upload_images/a10b00b45f35223317f6a6329aabaf995d8557b903e8d.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/a10b00b45f35223317f6a6329aabaf995d8557b903e8d.png?mw=700" alt="20190921cs8a1b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 クラスは Visual studio 2019 のデフォルト設定では 青緑色 をしているので、感じろだぜ☆」</p> <h2 id="Method; メソッド"><a href="#Method%3B+%E3%83%A1%E3%82%BD%E3%83%83%E3%83%89">Method; メソッド</a></h2> <p><a href="https://crieit.now.sh/upload_images/b62e6fa63d3214d9cfb9246284de130b5d85587e4d75e.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/b62e6fa63d3214d9cfb9246284de130b5d85587e4d75e.png?mw=700" alt="20190921cs1a4b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 なんかもう全部 呪文だよな☆ お前ら丸暗記かだぜ☆? これはメソッド(Method)☆<br /> 関数(function)と呼ぶやつもいる☆」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 体系的に スパシファケイション(specification)を 50時間かけて読むか、<br /> そんな初動時間を取らずに 経験でやるかの トレードオフだな☆」</p> <p><a href="https://crieit.now.sh/upload_images/f96431041e5dce64f35fb388e4a3fe185d8559f017319.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/f96431041e5dce64f35fb388e4a3fe185d8559f017319.png?mw=700" alt="20190921cs1a4b2.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 とくに この部分を メソッド・シグネチャー(Method signature)と呼ぶぜ☆」</p> <h2 id="Field; フィールド"><a href="#Field%3B+%E3%83%95%E3%82%A3%E3%83%BC%E3%83%AB%E3%83%89">Field; フィールド</a></h2> <p><a href="https://crieit.now.sh/upload_images/ab4867fae4b6444999998675c60661745d855ccf848b7.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/ab4867fae4b6444999998675c60661745d855ccf848b7.png?mw=700" alt="20190921cs9a1b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 なんか こういうやつを フィールド(Field)と言うが、 フィールドの元の意味を知ってると 違いが分かるので 説明する☆」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 表面だけ 丸暗記でいいのに……☆」</p> <p><a href="https://crieit.now.sh/upload_images/9e5ffd6c92adbd50d7b3e57a3e9e36355d856068d5f0d.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/9e5ffd6c92adbd50d7b3e57a3e9e36355d856068d5f0d.png?mw=700" alt="20190921cs10a1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 支配者がいて、その支配者が支配している土地を Domain(ドメイン; 領域)と呼ぶ☆<br /> 飛び地があったり、拡大したり 侵略されたりして 時系列に並べてみると 特定の形を保っていないのが ドメイン だぜ☆」</p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 上が北として、北西の方はモンスターが住んでそうだな☆ こんなところに うまみ はない☆」</p> <p><a href="https://crieit.now.sh/upload_images/8797e19acb6969aa71a93293ad1a1a855d8562622ca51.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/8797e19acb6969aa71a93293ad1a1a855d8562622ca51.png?mw=700" alt="20190921cs10a2.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 使える土地を見ろだぜ☆(^~^)<br /> そして その使える土地のうち、 <strong>使い方を決めてしまったところ</strong> がフィールドだぜ☆m9(^~^)」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 そうか☆」</p> <p><a href="https://crieit.now.sh/upload_images/32726e9ab2988db58fa599369f9b706a5d8563262f111.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/32726e9ab2988db58fa599369f9b706a5d8563262f111.png?mw=700" alt="20190921cs9a1b2.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 height(ハイト; 高さ)とか、 address(アドレス; 住所)とか名前が付いてるだろ☆<br /> ここに 体重とか 人の名前を入れたら死刑な☆」</p> <h2 id="Property; プロパティ"><a href="#Property%3B+%E3%83%97%E3%83%AD%E3%83%91%E3%83%86%E3%82%A3">Property; プロパティ</a></h2> <p><a href="https://crieit.now.sh/upload_images/6d96f7d20a635f0b62f70a7633c348555d85650bf1ba7.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/6d96f7d20a635f0b62f70a7633c348555d85650bf1ba7.png?mw=700" alt="20190921cs9a2b1.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 こいつらが Property(プロパティ)な☆」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 フィールドとの違いが分からん……☆」</p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 Property(プロパティ)は Interface (インターフェース)になったり、ならなかったりすることもできるが、<br /> Field (フィールド)は インターフェースになれない☆<br /> その違いを説明していこう☆」</p> <p><a href="https://crieit.now.sh/upload_images/c233dadb9da4a451fd0452aa0e816e2d5d856c4ef1ff3.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/c233dadb9da4a451fd0452aa0e816e2d5d856c4ef1ff3.png?mw=700" alt="20190921cs10a6.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 別のドメインから 客がやってきたとするぜ☆ そして <code>グレープ</code> が食べたいと しきりに言っていたとしよう☆」</p> <p><a href="https://crieit.now.sh/upload_images/52d65c87b38632f6ef6df1732cbd896c5d856cc79f85e.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/52d65c87b38632f6ef6df1732cbd896c5d856cc79f85e.png?mw=700" alt="20190921cs10a5.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 うちの領土なら グレープ、りんご、バナナ がある、というのが Interface(インターフェース)だぜ☆」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 いや、ぶどう も バナナ も無かったのでは☆?」</p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 いや、あることにしてるんで☆」</p> <p><a href="https://crieit.now.sh/upload_images/058791c2dd4c1604ce1bd9ec26d490ae5d854c0a14427.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/058791c2dd4c1604ce1bd9ec26d490ae5d854c0a14427.gif?mw=700" alt="OKAZAKI_Yumemi_80x80x8_02_Syaberu.gif" /></a><br /> 「 何の茶番なのよ!」</p> <p><a href="https://crieit.now.sh/upload_images/af85cfbd463daf5334fa9be027df83c55d856ee86185e.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/af85cfbd463daf5334fa9be027df83c55d856ee86185e.png?mw=700" alt="20190921cs10a7.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 自分とこに なければ 別のドメインから取り寄せてもいい☆<br /> 客は グレープが欲しいと言ったら、欲しいんだぜ☆ 商人はグレープを出すしかない☆ 大人は そんな戦い方をすることがある☆<br /> <code>Interface</code> や <code>Property</code> は <code>オブジェクト指向プログラミング</code> から来た用語であり、<br /> <strong>オブジェクト指向プログラミング</strong> の秘訣は <strong>中身がどうなってるか知ってなくても使える</strong> ことだぜ☆」</p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 それに比べ <code>Field</code> は即物的だぜ☆ あるところからしか 取れない☆」</p> <p><a href="https://crieit.now.sh/upload_images/1dee616b3d21f6e7250e202ba3e1edc75d857161dbe91.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/1dee616b3d21f6e7250e202ba3e1edc75d857161dbe91.png?mw=700" alt="20190921cs9a3.png" /></a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 だから フィールド と プロパティ の間には 目に見えない大きな境界線があり、ルールが違う☆<br /> 手続き型言語世代(Procedure)と オブジェクト指向プログラミング世代(OOP)ぐらい違う☆」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 どうでもいい……☆」</p> <h1 id="Control syntax; 制御構文"><a href="#Control+syntax%3B+%E5%88%B6%E5%BE%A1%E6%A7%8B%E6%96%87">Control syntax; 制御構文</a></h1> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 よく出てくるやつだけ やるかだぜ☆」</p> <h2 id="if, else if, else statement; if ~else if ~ else 文。イフ文。エルスイフ文。エルス文。"><a href="#if%2C+else+if%2C+else+statement%3B+if+%EF%BD%9Eelse+if+%EF%BD%9E+else+%E6%96%87%E3%80%82%E3%82%A4%E3%83%95%E6%96%87%E3%80%82%E3%82%A8%E3%83%AB%E3%82%B9%E3%82%A4%E3%83%95%E6%96%87%E3%80%82%E3%82%A8%E3%83%AB%E3%82%B9%E6%96%87%E3%80%82">if, else if, else statement; if ~else if ~ else 文。イフ文。エルスイフ文。エルス文。</a></h2> <p><a href="https://crieit.now.sh/upload_images/d949daae7ab8af3c1f3c0070fefc44195d857590c0e45.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/d949daae7ab8af3c1f3c0070fefc44195d857590c0e45.png?mw=700" alt="20190921cs11a1b1.png" /></a></p> <pre><code>if (age < 11) { Trace.WriteLine("Age | 11未満。"); } else if (age == 11) { Trace.WriteLine("Age | 11。"); } else if (age == 12) { Trace.WriteLine("Age | 12。"); } else { Trace.WriteLine("Age | 12以上。"); } </code></pre> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 むずかしい書き方が分からなかったら <strong>分岐</strong> は イフ・エルスイフ・エルス文 で何とか やりすごせだぜ☆」</p> <h2 id="switch statement; スイッチ文。"><a href="#switch+statement%3B+%E3%82%B9%E3%82%A4%E3%83%83%E3%83%81%E6%96%87%E3%80%82">switch statement; スイッチ文。</a></h2> <p><a href="https://crieit.now.sh/upload_images/537f35c6750abf5a9dd0b745572478915d8577e14aa67.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/537f35c6750abf5a9dd0b745572478915d8577e14aa67.png?mw=700" alt="20190921cs12a1b1.png" /></a></p> <pre><code>var kind = 4; switch (kind) { case 0: Trace.WriteLine("Kind | ゼロ。"); break; case 1: Trace.WriteLine("Kind | イチ。"); break; case 2: // thru. default: Trace.WriteLine("Kind | ソノタ。"); break; } </code></pre> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 <strong>分岐</strong> は スイッチ文 でも書けるものがある☆」</p> <h1 id="おわり"><a href="#%E3%81%8A%E3%82%8F%E3%82%8A">おわり</a></h1> <p><a target="_blank" rel="nofollow noopener" href="https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/language-specification/introduction">Introduction</a></p> <p><a href="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/3da2d4690cf2c3f101c5cbc0e48729f55d85497c84423.gif?mw=700" alt="KITASHIRAKAWA_Chiyuri_80x100x8_01_Futu.gif" /></a><br /> 「 キリ がないよな☆ ↑仕様書 勝手に読んでりゃよくね?」</p> <p><a href="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/5ac9fa3b390b658160717a7c1ef5008a5d854bf90dfea.gif?mw=700" alt="KIFUWARABE_80x100x8_01_Futu.gif" /></a><br /> 「 もう飽きたか……☆」</p> <p><a href="https://crieit.now.sh/upload_images/058791c2dd4c1604ce1bd9ec26d490ae5d854c0a14427.gif" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/058791c2dd4c1604ce1bd9ec26d490ae5d854c0a14427.gif?mw=700" alt="OKAZAKI_Yumemi_80x80x8_02_Syaberu.gif" /></a><br /> 「 プログラミングの背景事情だけ押さえて、文法は 必要になったつど検索して 経験的に覚えるのが よくない?」</p> <p><おわり></p> むずでょ