<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>redwarrior</author_name>
  <author_url>https://blog.hatena.ne.jp/redwarrior/</author_url>
  <blog_title>redwarrior’s diary</blog_title>
  <blog_url>https://redwarrior.hateblo.jp/</blog_url>
  <categories>
    <anon>小ネタ</anon>
    <anon>.NET Framework</anon>
    <anon>TEST</anon>
  </categories>
  <description>ちょっと前ですが、以下の記事を読みました。あわせて読みたいの記事も読みましたが、どれも丁寧にまとめられていて良い内容でした。 techlife.cookpad.com 日付を渡すには、Rubyではデフォルト引数で行うのが簡単と書かれていたので、これをC#でやってみようと思いました。 以下のようにデフォルト引数に今日の日付を設定したところ、コンパイルエラーになってしまいました。 string GetData(DateTime? target = DateTime.Today) { // targetを使った処理 } エラーメッセージ 'target' の既定パラメーター値は、コンパイル時の定数で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fredwarrior.hateblo.jp%2Fentry%2F2016%2F06%2F27%2F090000&quot; title=&quot;（小ネタ）C#でデフォルト引数に今日の日付や現在時刻を指定する - redwarrior’s diary&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-06-27 09:00:00</published>
  <title>（小ネタ）C#でデフォルト引数に今日の日付や現在時刻を指定する</title>
  <type>rich</type>
  <url>https://redwarrior.hateblo.jp/entry/2016/06/27/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
