Colorful ASCII Christmas Tree in C# by ChatGPT
Visual Studio .NET Core
Dec 23, 2022

Colorful ASCII Christmas Tree in C# by ChatGPT

In this article, we'll show you how to create a C# program that generates a beautiful ASCII Christmas tree with randomly placed ornaments and a brown trunk. Get into the holiday spirit and learn how to draw your own festive tree!

Test Uno Platform WebAssembly apps on mobile devices using Dev Tunnels
Visual Studio Uno Platform .NET Core
Nov 21, 2022

Test Uno Platform WebAssembly apps on mobile devices using Dev Tunnels

Microsoft has released the highly anticipated Visual Studio feature called Dev Tunnels. This feature allows you to test your locally running web applications on physical mobile devices, making mobile-specific API testing much easier. In this article, you'll learn how to enable and configure Dev Tunnels for your Uno Platform WebAssembly apps. Get ready to streamline your mobile app testing process!

Getting C# attribute constructor arguments via reflection
Development .NET Core
Nov 15, 2022

Getting C# attribute constructor arguments via reflection

Discover how to retrieve attribute constructor argument values in C# without storing them in any field or property. Learn about the handy CustomAttributesData class and its ConstructorArguments property. Find out more in this insightful article!

The shortest quine in C# 9 and 10
Development General .NET Core
Dec 2, 2021

The shortest quine in C# 9 and 10

Discover the fascinating world of quines in programming! Learn about their mind-twisting variants and how they produce their own source code. Plus, find out how the latest release of C# allows for shorter and more efficient quines. Read more to see the evolution of C# quines and the tricks to make them as concise as possible.

General .NET Core
Apr 27, 2020

Introduction to Reactive Programming in .NET with Shimmy Weitzhandler

Join us on this exciting live stream with Shimmy Weitzhandler as he takes us on a mesmerizing musical journey before diving into the captivating world of reactive programming in .NET. You don't want to miss this electrifying experience! 🎵🖥️ #ReactiveProgramming #LiveStream

Visual Studio General .NET Core Uncategorized
Dec 14, 2019

A Christmas C# riddle

In this C# Advent entry, the author presents a riddle for C# developers. Based on the given code snippets and the behavior of the program, they explain why the program's output is "False" instead of "True". The solution revolves around the difference between a struct and a class in C#. The article emphasizes the importance of keeping C# structs immutable to ensure a clear understanding of the inner state of an instance. Ready to check out the solution?

Visual Studio General .NET Core Uncategorized
Dec 14, 2019

Vánoční C# hádanka

Jak se chovají struktury v C#? Proveďte tuto malou hádanku a zjistěte, proč program vypsal false místo true. Zjistíte, že struktury jsou hodnotové typy a jejich chování se liší od polí. Přečtěte si článek pro vysvětlení a řešení!

Visual Studio General .NET Core
Nov 20, 2019

Using proper culture with C# string interpolation

Discover the remarkable bug in string interpolation in C# and how it can affect the execution of your code when communicating with JavaScript. Learn about the alternative solution using the FormattableString class to ensure consistent evaluation of interpolated strings, regardless of the system's culture. Don't miss out on this helpful tip for crafting machine-friendly representations!

Visual Studio General .NET Core
Nov 20, 2019

Určení kultury pro interpolaci řetězců v C#

Používání interpolace řetězců v C# může být návykové, ale můžeme narazit na problém při použití kódu komunikujícího s JavaScriptem. Když spustíme kód na počítači s nastavením na angličtinu, dostaneme jiný výstup než na počítači s češtinou. Jak tento problém vyřešit? Čtěte dál, v článku se dozvíte spoustu užitečných tipů a triků!

Visual Studio General .NET Core
Jan 10, 2019

Cool new way to fill array with a value in .NET Core

Introducing the new way to count: Array.Fill in .NET Core 2.0! Say goodbye to endless for-loops and slow performance. With Array.Fill, you get the best of both worlds - speed and simplicity. Peek under the hood and see how it works. Plus, discover how to specify which indices to fill. Check it out!

Visual Studio General .NET Core
Jan 10, 2019

Cool způsob jak naplnit pole hodnotou v .NET Core

Zajímá vás, kolikrát jste psali opakované cykly nebo LINQ? Pokud odpovíte "nekonečněkrát", máme pro vás dobrou zprávu! Nový způsob v .NET Core Vám to usnadní. Array.Fill je stručný a rychlý. A nejlépe na tom je, že je dostupný ve všech verzích .NET Core 2.0 a novějších. Zjistěte, jak funguje a podívejte se i pod kapotu!