---
title: "Discussion on \"Complete C# to Kotlin Syntax Comparisons\" | Hashnode"
description: "Discussion on \"Complete C# to Kotlin Syntax Comparisons\". Kotlin Cheat Sheet for C# developers"
url: "https://hashnode.com/posts/complete-c-to-kotlin-syntax-comparisons/614e6b5794bb297e1aad5e4d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Complete C# to Kotlin Syntax Comparisons](https://vtsen.hashnode.dev/complete-c-to-kotlin-syntax-comparisons?utm_source=hashnode&utm_medium=feed)

Kotlin Cheat Sheet for C# developers

Sep 25, 2021 · 10 min read · vtsen.hashnode.dev  
Updated Jul 23, 2022  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#android](https://hashnode.com/tag/android)
-   [#android-app-development](https://hashnode.com/tag/android-app-development)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Vincent Tsen](https://hashnode.com/@vtsen)

@vtsen · Sydney

  
[View profile](https://hashnode.com/@vtsen)

Native Android Kotlin Developer

I'm a self-taught hobbyist Android developer who loves to build projects and share valuable tips for new Android developers. Feel free to comment, share or connect with me!

## Responses 2

Markdown supported · ⌘↵ to post

[jdjd](https://hashnode.com/@ownnz)

[Aug 31, 2024](https://hashnode.com/posts/complete-c-to-kotlin-syntax-comparisons/614e6b5794bb297e1aad5e4d/comment/66d32de88d294d3d4814f78f)

I think you may not understand c#? HAHA but there are some wrongs 1. C# has Nullable reference types in 8.0 2. c# can use Primary construcor in record like this "record on(ref readonly int a){}" 3. C# has Lazy and it thread-safe🥰 though based on your publish time it is has too,thx your blog

[Ivan Pavlov](https://hashnode.com/@IvanPavlov)

[Nov 9, 2023](https://hashnode.com/posts/complete-c-to-kotlin-syntax-comparisons/614e6b5794bb297e1aad5e4d/comment/654cb6f34a0606fcdd92023f)

Modern C# has Nullable reference types with allow to make a reference variable nullable.

[Vincent Tsen](https://hashnode.com/@vtsen)

[Nov 11, 2023](https://hashnode.com/posts/complete-c-to-kotlin-syntax-comparisons/614e6b5794bb297e1aad5e4d/comment/654cb6f34a0606fcdd92023f#reply-654f195ed03f881958ba4e4c)

Yeah, you're right. Thanks for the comment.
