{"id":42700,"date":"2024-11-13T20:47:58","date_gmt":"2024-11-13T20:47:58","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=42700"},"modified":"2024-11-26T06:34:44","modified_gmt":"2024-11-26T06:34:44","slug":"2-c-%ec%b5%9c%ec%8b%a0-%eb%ac%b8%eb%b2%95%ea%b3%bc-%ea%b8%b0%eb%8a%a5-%ed%99%9c%ec%9a%a9-null-%ec%b2%98%eb%a6%ac-%ed%96%a5%ec%83%81nullable-reference-types","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/42700\/","title":{"rendered":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)"},"content":{"rendered":"<article>\n<p>\n        C#\uc740 2000\ub144\ub300 \ucd08\ubc18\ubd80\ud130 \ubc1c\uc804\uc744 \uac70\ub4ed\ud558\uc5ec \uc624\ub298\ub0a0 \uac00\uc7a5 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 \uc911 \ud558\ub098\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc778 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c Nullable Reference Types\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uacfc \ub514\uc790\uc778 \ud328\ud134 \ubd84\uc57c\uc5d0\uc11c \uc911\uc694\ud55c \ubcc0\ud654\ub97c \uac00\uc838\uc654\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5, \ud2b9\ud788 Nullable Reference Types\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\ub294 \ubd84\uc11d\uacfc \uc608\uc81c\ub97c \uc81c\uacf5\ud558\uace0\uc790 \ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>1. Nullable Reference Types\ub780?<\/h2>\n<p>\n        \uc77c\ubc18\uc801\uc73c\ub85c C#\uc5d0\uc11c\ub294 \ucc38\uc870\ud615 \ubcc0\uc218(Reference Type)\uac00 null \uac12\uc744 \uac00\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub294 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c NullReferenceException\uacfc \uac19\uc740 \uc624\ub958\ub97c \ubc1c\uc0dd\uc2dc\ud0a4\ub294 \uc8fc\uc694 \uc6d0\uc778 \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. Nullable Reference Types\ub294 \uc774\ub7ec\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c \uae30\ub2a5\uc73c\ub85c, \ucc38\uc870\ud615 \ubcc0\uc218\uac00 null\uc774 \ub420 \uc218 \uc788\ub294\uc9c0\ub97c \uba85\uc2dc\uc801\uc73c\ub85c \ud45c\ud604\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4.\n    <\/p>\n<p>\n        \uae30\ubcf8\uc801\uc73c\ub85c C# 8.0 \uc774\uc0c1\uc5d0\uc11c\ub294 nullable \ucc38\uc870\ud615 \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 `?` \uc5f0\uc0b0\uc790\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc774 \uc5f0\uc0b0\uc790\ub294 \ud574\ub2f9 \ubcc0\uc218\uc5d0 null \uac12\uc774 \ud560\ub2f9\ub420 \uc218 \uc788\uc74c\uc744 \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \ubc18\uba74, nullable\uc774 \uc544\ub2cc \ucc38\uc870\ud615 \ubcc0\uc218\ub294 null\uc744 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc74c\uc744 \ub098\ud0c0\ub0b4\uba70, \uc774 \uacbd\uc6b0 \ucef4\ud30c\uc77c\ub7ec\uc5d0\uc11c \uacbd\uace0\ub97c \ubc1c\uc0dd\uc2dc\ud0b5\ub2c8\ub2e4.\n    <\/p>\n<h3>\uc608\uc81c 1: Nullable Reference Types \uc0ac\uc6a9\ud558\uae30<\/h3>\n<pre>\n        <code>\npublic class Person\n{\n    public string Name { get; set; } \/\/ Non-nullable reference type\n    public string? Nickname { get; set; } \/\/ Nullable reference type\n}\n\npublic class Program\n{\n    public static void Main()\n    {\n        Person person = new Person();\n        person.Name = \"John Doe\";\n        person.Nickname = null; \/\/ OK\n\n        \/\/ Non-nullable reference type can't be set to null\n        \/\/ person.Name = null; \/\/ Error: Cannot convert null to 'string' because it is a non-nullable reference type\n    }\n}\n        <\/code>\n    <\/pre>\n<h2>2. Nullable Reference Types\uc5d0\uc11c null \ucc98\ub9ac\ud558\uae30<\/h2>\n<p>\n        Nullable Reference Types\ub97c \uc0ac\uc6a9\ud558\uba74 \ucc38\uc870\ud615 \ubcc0\uc218\uc758 null \ucc98\ub9ac\uc5d0 \ub300\ud55c \uba85\ud655\ud55c \uc815\ucc45\uc744 \uc218\ub9bd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \ucf54\ub4dc\uc5d0 \ub300\ud55c \uac00\ub3c5\uc131\uc744 \ub192\uc774\uace0, \uc7a0\uc7ac\uc801\uc778 NullReferenceException\uc744 \ubc29\uc9c0\ud558\ub294 \ub370 \ud070 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4. null \ucc98\ub9ac\ub97c \uc704\ud574 \ub2e4\uc591\ud55c \uc811\uadfc \ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h3>Nullable \uc5f0\uc0b0\uc790 \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>\n        C#\uc5d0\uc11c\ub294 null \ubcd1\ud569 \uc5f0\uc0b0\uc790(`??`)\uc640 null \uc870\uac74 \uc5f0\uc0b0\uc790(`?.`)\ub97c \ud1b5\ud574 \uac04\ud3b8\ud558\uac8c null \ucc98\ub9ac\ub97c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. null \ubcd1\ud569 \uc5f0\uc0b0\uc790\ub294 \uc67c\ucabd \uac12\uc774 null\uc77c \uacbd\uc6b0 \uc624\ub978\ucabd \uac12\uc744 \ubc18\ud658\ud558\ub294 \uc5f0\uc0b0\uc790\uc785\ub2c8\ub2e4. null \uc870\uac74 \uc5f0\uc0b0\uc790\ub294 \uac1d\uccb4\uac00 null\uc774 \uc544\ub2d0 \ub54c\ub9cc \ud574\ub2f9 \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4.\n    <\/p>\n<h4>\uc608\uc81c 2: Null \ubcd1\ud569 \uc5f0\uc0b0\uc790 \uc0ac\uc6a9\ud558\uae30<\/h4>\n<pre>\n        <code>\npublic class Example\n{\n    public static void Main()\n    {\n        string? firstName = null;\n        string lastName = \"Doe\";\n\n        \/\/ Using null coalescing operator\n        string fullName = firstName ?? \"John\" + \" \" + lastName;\n        Console.WriteLine(fullName); \/\/ Output: John Doe\n    }\n}\n        <\/code>\n    <\/pre>\n<h4>\uc608\uc81c 3: Null \uc870\uac74 \uc5f0\uc0b0\uc790 \uc0ac\uc6a9\ud558\uae30<\/h4>\n<pre>\n        <code>\npublic class User\n{\n    public string? Address { get; set; }\n}\n\npublic class Example\n{\n    public static void Main()\n    {\n        User user = new User();\n\n        \/\/ Using null conditional operator\n        int length = user.Address?.Length ?? 0; \/\/ Safe access to Address.Length\n        Console.WriteLine(length); \/\/ Output: 0\n    }\n}\n        <\/code>\n    <\/pre>\n<h2>3. \ucef4\ud30c\uc77c\ub7ec \uacbd\uace0\uc640 Fluent API<\/h2>\n<p>\n        Nullable Reference Types\ub97c \uc0ac\uc6a9\ud558\uac8c \ub418\uba74 C# \ucef4\ud30c\uc77c\ub7ec\ub294 null \uac00\ub2a5\uc131\uc5d0 \ub300\ud574 \uacbd\uace0\ub97c \ud574\uc90d\ub2c8\ub2e4. \ub530\ub77c\uc11c, \uac1c\ubc1c\uc790\ub294 \ucf54\ub4dc\uc758 \uc548\uc804\uc131\uc5d0 \ub300\ud574 \ubcf4\ub2e4 \uc27d\uac8c \ud30c\uc545\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ub2a5\uc740 \ud2b9\ud788 \ub300\uaddc\ubaa8 \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c \ud488\uc9c8 \ubcf4\uc99d\uc744 \uac15\ud654\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4.\n    <\/p>\n<p>\n        \ub610\ud55c, Nullable Reference Types\ub294 Fluent API\uc640 \ud568\uaed8 \uc0ac\uc6a9\ud560 \ub54c \ub9e4\uc6b0 \uac15\ub825\ud55c \ub3c4\uad6c\uac00 \ub429\ub2c8\ub2e4. Fluent API\ub294 \uba54\uc11c\ub4dc \uccb4\uc774\ub2dd\uc744 \ud1b5\ud574 \uac00\ub3c5\uc131\uc774 \ub192\uc740 \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \ucc38\uc870\ud615 \ubcc0\uc218\ub97c \uc801\uc808\ud558\uac8c \ucc98\ub9ac\ud568\uc73c\ub85c\uc368, \uac1c\ubc1c\uc790\ub294 \ubcf4\ub2e4 \ud750\ub984 \uc788\ub294 \ucf54\ub4dc \uc791\uc131\uc744 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h4>\uc608\uc81c 4: Fluent API\uc640 \ud568\uaed8 \uc0ac\uc6a9\ud558\uae30<\/h4>\n<pre>\n        <code>\npublic class UserBuilder\n{\n    private string? name;\n    private string? email;\n\n    public UserBuilder SetName(string name)\n    {\n        this.name = name;\n        return this;\n    }\n\n    public UserBuilder SetEmail(string email)\n    {\n        this.email = email;\n        return this;\n    }\n\n    public User Build()\n    {\n        return new User { Name = name ?? \"Default Name\", Email = email };\n    }\n}\n\npublic class User\n{\n    public string Name { get; set; }\n    public string? Email { get; set; }\n}\n\npublic class Example\n{\n    public static void Main()\n    {\n        User user = new UserBuilder()\n            .SetName(\"John Doe\")\n            .SetEmail(null)\n            .Build();\n        \n        Console.WriteLine($\"Name: {user.Name}, Email: {user.Email ?? \"No Email\"}\");\n    }\n}\n        <\/code>\n    <\/pre>\n<h2>4. Nullable Reference Types\uc758 \uc7a5\uc810<\/h2>\n<p>\n        Nullable Reference Types\ub97c \ud65c\uc6a9\ud558\uba74 \uc5ec\ub7ec \uac00\uc9c0 \uc7a5\uc810\uc744 \ub204\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc8fc\uc694 \uc7a5\uc810\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<ul>\n<li>NullReferenceException \ubc29\uc9c0: \ucf54\ub4dc\uc5d0\uc11c null \uac00\ub2a5\uc131\uc774 \uba85\ud655\ud574\uc9c0\ubbc0\ub85c, \uc774\ub85c \uc778\ud55c \ub7f0\ud0c0\uc784 \uc624\ub958\ub97c \uc0ac\uc804\uc5d0 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uac00\ub3c5\uc131 \ud5a5\uc0c1: nullable \ubcc0\uc218\uc640 non-nullable \ubcc0\uc218\ub97c \uad6c\ubd84\ud558\uc5ec, \ucf54\ub4dc\ub97c \uc27d\uac8c \uc774\ud574\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4.<\/li>\n<li>\uc815\uc801 \ubd84\uc11d \ub3c4\uad6c\uc640 \ud1b5\ud569: \ub9ce\uc740 \uc815\uc801 \ubd84\uc11d \ub3c4\uad6c\ub4e4\uc774 Nullable Reference Types\ub97c \uc9c0\uc6d0\ud568\uc73c\ub85c\uc368, \ucf54\ub4dc \ud488\uc9c8\uc744 \ub354 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uacb0\ub860<\/h2>\n<p>\n        C#\uc758 Nullable Reference Types\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \ub110(null) \ucc98\ub9ac\ub97c \ub354\uc6b1 \uc548\uc804\ud558\uac8c \ub9cc\ub4e4\uc5b4\uc8fc\ub294 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \ud2b9\ud788 \ub300\uaddc\ubaa8 \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c NullReferenceException\uc744 \uc608\ubc29\ud558\ub294 \ub370 \ud070 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4. C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \ucf54\ub4dc \ud488\uc9c8\uc744 \ub192\uc774\uace0, \ub354\uc6b1 \uc548\uc804\ud558\uace0 \ud6a8\uc728\uc801\uc778 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub97c \uac1c\ubc1c\ud558\ub294 \ub370 \uae30\uc5ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c C#\uc758 \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \ub354 \ub098\uc740 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud574\ubd05\uc2dc\ub2e4!\n    <\/p>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>C#\uc740 2000\ub144\ub300 \ucd08\ubc18\ubd80\ud130 \ubc1c\uc804\uc744 \uac70\ub4ed\ud558\uc5ec \uc624\ub298\ub0a0 \uac00\uc7a5 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 \uc911 \ud558\ub098\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc778 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c Nullable Reference Types\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uacfc \ub514\uc790\uc778 \ud328\ud134 \ubd84\uc57c\uc5d0\uc11c \uc911\uc694\ud55c \ubcc0\ud654\ub97c \uac00\uc838\uc654\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5, \ud2b9\ud788 Nullable Reference Types\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\ub294 \ubd84\uc11d\uacfc \uc608\uc81c\ub97c \uc81c\uacf5\ud558\uace0\uc790 \ud569\ub2c8\ub2e4. 1. Nullable Reference Types\ub780? \uc77c\ubc18\uc801\uc73c\ub85c C#\uc5d0\uc11c\ub294 \ucc38\uc870\ud615 \ubcc0\uc218(Reference Type)\uac00 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/42700\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[241],"tags":[],"class_list":["post-42700","post","type-post","status-publish","format-standard","hentry","category-csharp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/42700\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"C#\uc740 2000\ub144\ub300 \ucd08\ubc18\ubd80\ud130 \ubc1c\uc804\uc744 \uac70\ub4ed\ud558\uc5ec \uc624\ub298\ub0a0 \uac00\uc7a5 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 \uc911 \ud558\ub098\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc778 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c Nullable Reference Types\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uacfc \ub514\uc790\uc778 \ud328\ud134 \ubd84\uc57c\uc5d0\uc11c \uc911\uc694\ud55c \ubcc0\ud654\ub97c \uac00\uc838\uc654\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5, \ud2b9\ud788 Nullable Reference Types\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\ub294 \ubd84\uc11d\uacfc \uc608\uc81c\ub97c \uc81c\uacf5\ud558\uace0\uc790 \ud569\ub2c8\ub2e4. 1. Nullable Reference Types\ub780? \uc77c\ubc18\uc801\uc73c\ub85c C#\uc5d0\uc11c\ub294 \ucc38\uc870\ud615 \ubcc0\uc218(Reference Type)\uac00 &hellip; \ub354 \ubcf4\uae30 &quot;[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/42700\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-13T20:47:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:34:44+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/42700\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42700\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)\",\"datePublished\":\"2024-11-13T20:47:58+00:00\",\"dateModified\":\"2024-11-26T06:34:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42700\/\"},\"wordCount\":93,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"csharp\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/42700\/\",\"url\":\"https:\/\/atmokpo.com\/w\/42700\/\",\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-13T20:47:58+00:00\",\"dateModified\":\"2024-11-26T06:34:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42700\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/42700\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/42700\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/42700\/","og_locale":"ko_KR","og_type":"article","og_title":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"C#\uc740 2000\ub144\ub300 \ucd08\ubc18\ubd80\ud130 \ubc1c\uc804\uc744 \uac70\ub4ed\ud558\uc5ec \uc624\ub298\ub0a0 \uac00\uc7a5 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 \uc911 \ud558\ub098\ub85c \uc790\ub9ac\uc7a1\uc558\uc2b5\ub2c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc778 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c Nullable Reference Types\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uacfc \ub514\uc790\uc778 \ud328\ud134 \ubd84\uc57c\uc5d0\uc11c \uc911\uc694\ud55c \ubcc0\ud654\ub97c \uac00\uc838\uc654\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5, \ud2b9\ud788 Nullable Reference Types\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\ub294 \ubd84\uc11d\uacfc \uc608\uc81c\ub97c \uc81c\uacf5\ud558\uace0\uc790 \ud569\ub2c8\ub2e4. 1. Nullable Reference Types\ub780? \uc77c\ubc18\uc801\uc73c\ub85c C#\uc5d0\uc11c\ub294 \ucc38\uc870\ud615 \ubcc0\uc218(Reference Type)\uac00 &hellip; \ub354 \ubcf4\uae30 \"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)\"","og_url":"https:\/\/atmokpo.com\/w\/42700\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-13T20:47:58+00:00","article_modified_time":"2024-11-26T06:34:44+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/42700\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/42700\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)","datePublished":"2024-11-13T20:47:58+00:00","dateModified":"2024-11-26T06:34:44+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/42700\/"},"wordCount":93,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["csharp"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/42700\/","url":"https:\/\/atmokpo.com\/w\/42700\/","name":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-13T20:47:58+00:00","dateModified":"2024-11-26T06:34:44+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/42700\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/42700\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/42700\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, null \ucc98\ub9ac \ud5a5\uc0c1(Nullable Reference Types)"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=42700"}],"version-history":[{"count":2,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42700\/revisions"}],"predecessor-version":[{"id":42767,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42700\/revisions\/42767"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=42700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=42700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=42700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}