<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KaruraSarutahiko</author_name>
  <author_url>https://blog.hatena.ne.jp/KaruraSarutahiko/</author_url>
  <blog_title>C#初心者がニューエデンで生き残るには</blog_title>
  <blog_url>https://csharp-to-eveonline.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>C#</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>今回は非同期処理についてです。C#では処理をバックグラウンドに投げる非同期処理が簡単に…………できました。 サンプルコードは下記のとおりです。非同期処理にするにはざっくりとして以下の通りです。 非同期処理を行うメソッドをasyncで修飾して戻り値をvoid、Task、Task(T)のどれかにする メソッド内で非同期にしたい処理をawait Task.Runの中にラムダ式で書き込む。 戻り値を持つ場合はタスクを変数に取り込み、Resultプロパティで結果を取り出す。 実用するにはどうやるのかなー、というのはありますけどね（汗 using System; using System.Linq; us…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcsharp-to-eveonline.hatenablog.com%2Fentry%2F2016%2F11%2F15%2F213959&quot; title=&quot;asyncってかんたん！？ - C#初心者がニューエデンで生き残るには&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-11-15 21:39:59</published>
  <title>asyncってかんたん！？</title>
  <type>rich</type>
  <url>https://csharp-to-eveonline.hatenablog.com/entry/2016/11/15/213959</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
