<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>makijiam</author_name>
  <author_url>https://blog.hatena.ne.jp/makijiam/</author_url>
  <blog_title>Mono Materials</blog_title>
  <blog_url>https://amacara.net/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>今回はC#でのStringからIntやFloat型に変換するParse処理について。 システム内部の話であれば、基本的にデータ型は一致しているわけでそもそもParse処理を必要しない、もしくは（データの中身が）自明のため変換時のエラーは発生しないことが多いので安心して使える思います。 ただ、外部（サーバー経由や、エクセルからのデータ変換などの）データを受け取って処理する場合は少し面倒です。というのも、そこのデータを例えば手作業で編集しているとかだと入力ミスや予期しないデータが入ってくることもあります。そういう不確定要素が来そうなところはParseではなくTryParseを使った方が良いケースに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famacara.net%2Fentry%2F2017%2F10%2Ftryparse%2F&quot; title=&quot; 外部データからParse変換にTryParseを使ってハンドリングする - Mono Materials&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>2017-10-29 17:19:09</published>
  <title> 外部データからParse変換にTryParseを使ってハンドリングする</title>
  <type>rich</type>
  <url>https://amacara.net/entry/2017/10/tryparse/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
