<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kagasu</author_name>
  <author_url>https://blog.hatena.ne.jp/kagasu/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://kagasu.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>2024/08/18追記 Ⅰ. はじめに Ⅱ. サンプルプログラム1 実行結果 Ⅲ. サンプルプログラム2 実行結果 参考 2024/08/18追記 RapidEnumのほうが速いhttps://github.com/hanachiru/RapidEnum Ⅰ. はじめに タイトルの通り「C#でenumに任意の文字列(string)を設定する方法」です。 Ⅱ. サンプルプログラム1 Install-Package FastEnum Program.cs enum Company { [EnumMember(Value = &quot;Apple, Inc.&quot;)] Apple = 0, } class P…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2018%2F01%2F23%2F182333&quot; title=&quot;C#でenumに任意の文字列(string)を設定する方法 - 備忘録&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kagasu/20180123/20180123182254.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-23 18:23:33</published>
  <title>C#でenumに任意の文字列(string)を設定する方法</title>
  <type>rich</type>
  <url>https://kagasu.hatenablog.com/entry/2018/01/23/182333</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
