<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>.NET 4.0にて、System.Stringクラスに以下のstaticメソッドが追加されました。 String.IsNullOrWhiteSpace これは、以前から存在していたIsNullOrEmptyメソッドに、「空白文字のみの文字列」の場合も 空と見なす条件を追加したものになります。 前までは、以下のように記述する必要がありました。 if (string.IsNullOrEmpty(str) || str.Trim().Length == 0) { .... } これからは、以下のように記述できます。 if (string.IsNullOrWhiteSpace(str)) { ...…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20100528%2Fp1&quot; title=&quot; String.IsNullOrWhiteSpaceメソッド (System.String, .NET 4.0で追加されたメソッド, 空白文字も空とみなす, 全角文字も空白文字とみなす) - いろいろ備忘録日記&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>2010-05-28 00:00:00</published>
  <title> String.IsNullOrWhiteSpaceメソッド (System.String, .NET 4.0で追加されたメソッド, 空白文字も空とみなす, 全角文字も空白文字とみなす)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/20100528/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
