<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakamurakko</author_name>
  <author_url>https://blog.hatena.ne.jp/nakamurakko/</author_url>
  <blog_title>nakamurakko’s blog</blog_title>
  <blog_url>https://nakamurakko.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>C#</anon>
  </categories>
  <description>ググった C#の文字列比較はどの方法が良いのか分からなかったので、「C# 文字列比較」で検索すると、上位に出てくるのがケース1～3だった。 ケース1 string stringValue = &quot;0&quot;; int intValue = 0; // stringとintを==演算子で比較するとビルドエラーになる。 System.Console.WriteLine(stringValue == intValue); 「等値演算子で比較すればビルドエラーになるから、実行前に発見出来る」というのをネットで見かけた。そして、その多くは「で、ビルドエラーはどのように対処するのか」が抜けていた。 ケース2 st…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakamurakko.com%2Fentry%2F2016%2F02%2F24%2F222520&quot; title=&quot;C# 文字列比較 - nakamurakko’s blog&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-02-24 22:25:20</published>
  <title>C# 文字列比較</title>
  <type>rich</type>
  <url>https://nakamurakko.com/entry/2016/02/24/222520</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
