<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kasatomo</author_name>
  <author_url>https://blog.hatena.ne.jp/kasatomo/</author_url>
  <blog_title>かさともの備忘録</blog_title>
  <blog_url>https://kasatomo.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>ニコニコ生放送</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>ニコニコ動画や生放送では、CA（コメントアート）を利用する際に、整形のために実際には見えないけど実在する文字列を利用します。それが、ゼロ幅文字列と呼ばれるのもなのですが、そのゼロ幅文字列をプログラム上でどのように利用するのかを紹介します。もちろん、 string zero-weight = &quot;(ゼロ幅文字をコピーアンドペーストで入力する)&quot;; でもいいのかもしれませんが、 見栄えが悪い メンテナンスのときに混同してしまう といった短所があります。そこで、明示的にその文字列を利用する方法を調べてみました。VC#では、 System.Convert.ToChar(0x200C).ToString(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkasatomo.hatenadiary.org%2Fentry%2F20101001%2F1285927598&quot; title=&quot;C#でゼロ幅文字を利用する方法 - かさともの備忘録&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-10-01 19:06:38</published>
  <title>C#でゼロ幅文字を利用する方法</title>
  <type>rich</type>
  <url>https://kasatomo.hatenadiary.org/entry/20101001/1285927598</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
