<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>neko3cs</author_name>
  <author_url>https://blog.hatena.ne.jp/neko3cs/</author_url>
  <blog_title>ねこさんのぶろぐ</blog_title>
  <blog_url>https://blog.neko3cs.net/</blog_url>
  <categories>
    <anon>.NET Core</anon>
    <anon>C#Script</anon>
    <anon>備忘録</anon>
  </categories>
  <description>C#にはスクリプトとして実行出来る機能があります。 csiコマンドを使用することでC#のスクリプトファイルである.csxファイルを実行出来ます。 冷静に考えると当たり前なことですが、私はハマったので備忘録に残します。 スクリプトの最後はvoidかintを返しましょう。 intを返す場合は終了コードとして認識します。 当たり前ですね。 // SampleScript.csx using System; public static class Script { public static string Run() { // 例として現在時間を返すスクリプトを作成する var now = DateT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.neko3cs.net%2Fentry%2F2019%2F03%2F28%2F232354&quot; title=&quot;csiコマンドでの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>2019-03-28 23:23:54</published>
  <title>csiコマンドでのC#スクリプト実行時の注意点</title>
  <type>rich</type>
  <url>https://blog.neko3cs.net/entry/2019/03/28/232354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
