Uno Platform WinUI C# XAML
Dec 3, 2024

Building a Bluesky client in Uno Platform

Bluesky has taken the world by storm last month (unsurprisingly!), so let's try to build a simple cross-platform C# client in Uno Platform!

Cross-Platform Christmas Countdown in C# in under 5 minutes
Uno Platform WinUI C#
Dec 18, 2023

Cross-Platform Christmas Countdown in C# in under 5 minutes

Christmas is just around the corner, so I thought it would a good challenge to see if it is possible to build a fully cross-platform Christmas Countdown app in C# and .NET 8 using Uno Platform in less than 5 minutes! Impossible? Let's see!

Christmas Countdown app
Uno Platform WinUI C#
Dec 8, 2023

Cross-platform Christmas Countdown App in C#

For this year's C# Advent, let's build a simple cross-platform Christmas Countdown app, which will run on Android, iOS, Windows, macOS, Linux, and even the web using Uno Platform!

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!

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!

Building Microsoft Teams app in C# and XAML with Uno Platform
Visual Studio Web Uno Platform XAML
Nov 2, 2022

Building Microsoft Teams app in C# and XAML with Uno Platform

Discover how to build apps for Microsoft Teams using C# and XAML with the help of Uno Platform and WebAssembly. Learn about the limitations and prerequisites, and follow step-by-step instructions to set up your development environment. Find out how to integrate Uno Platform apps into the Teams app, and get a sneak peek at a simple app in action. Exciting possibilities await!

Uno Platform + Gamepad API
Uno Platform WinUI
Jun 9, 2022

Using Gamepad API in Uno Platform apps

Ever wanted to use gamepads in your Uno Platform applications? Well, now you can! This blog post shows you how to use gamepads on Windows, iOS, macOS, Android, and even the web using WebAssembly. Check it out and level up your app development!

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.

Game of Life in Uno Platform
Uno Platform WinUI
Dec 14, 2020

Game of Life in Uno Platform

In this article, we will explore the fascinating Game of Life and learn how to implement it in C# and XAML using the Uno Platform. We will cover the rules of the game, create the solution, implement game logic, build the user interface, add themes, and see it run everywhere - on Windows, Android, iOS, macOS, web, Linux, and Tizen! Join us on this exciting journey of creating and exploring the Game of Life.

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!