<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jyuch</author_name>
  <author_url>https://blog.hatena.ne.jp/jyuch/</author_url>
  <blog_title>レンコン畑でつかまえて</blog_title>
  <blog_url>https://jyuch.hatenablog.com/</blog_url>
  <categories>
    <anon>VB.NET</anon>
  </categories>
  <description>はじめに この前、ふとVBのキーワード一覧を見ていたらStaticなる物を見つけました。 Static (Visual Basic) どうも静的なローカル変数を宣言する時に使うもののようです。 正直VBがオブジェクト指向言語を標榜しているならこんなものは要らないはずですが、なぜかあります。 まぁ、あるもんはあるんですからしゃーないですけど。 サンプルコード Staticが指定された変数は以下の特徴があります。 メソッドが最初に呼ばれた時に1度だけ初期化される メソッドが終了しても値を保持し続ける クラスメソッドの場合はクラスに一つ、インスタンスメソッドの場合はインスタンスごとに値を保持する と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjyuch.hatenablog.com%2Fentry%2F2015%2F04%2F19%2F194408&quot; title=&quot;VB.NETでも静的なローカル変数を使いたい - レンコン畑でつかまえて&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>2015-04-19 19:44:08</published>
  <title>VB.NETでも静的なローカル変数を使いたい</title>
  <type>rich</type>
  <url>https://jyuch.hatenablog.com/entry/2015/04/19/194408</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
