<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rksoftware</author_name>
  <author_url>https://blog.hatena.ne.jp/rksoftware/</author_url>
  <blog_title>rksoftware</blog_title>
  <blog_url>https://rksoftware.hatenablog.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>C#</anon>
  </categories>
  <description>C# 14 (.NET 10 世代の C# ) の機能、Null 条件付き割り当て / null-conditional-assignment を見てみます。 ■ これまでは 変数が null の場合に、メンバーを呼び出すと例外となることを回避するための Null 条件演算子はありました。しかし、プロパティやフィールドへの値の設定で null の例外を避けられる機能はありませんでした。 // 例えばこのように書く必要があった if (c != null) c.P = &quot;saitama&quot;; ■ これからは プロパティやフィールドへの値の設定で使える Null 条件な機能が使えます。 // このよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frksoftware.hatenablog.com%2Fentry%2F2025%2F08%2F02%2F190000&quot; title=&quot;C# 14 の情報を振り返る その11 / C# 14 (.NET 10 世代の C# ) Null 条件付き割り当て / null-conditional-assignment - rksoftware&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>2025-08-02 19:00:00</published>
  <title>C# 14 の情報を振り返る その11 / C# 14 (.NET 10 世代の C# ) Null 条件付き割り当て / null-conditional-assignment</title>
  <type>rich</type>
  <url>https://rksoftware.hatenablog.com/entry/2025/08/02/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
