Participating in AI challenge
Published: (December 3, 2025 at 09:09 PM EST)
1 min read
Source: Dev.to
Source: Dev.to
AI Challenge for Cross-Platform Apps – WOW Factor Submission
XAML (MainPage.xaml)
C# (MainPage.xaml.cs)
using System.Collections.Generic;
using Uno.UI.Runtime.Skia;
using Microsoft.UI.Xaml.Controls; // Assuming Page is from this namespace
namespace CoffeeShopApp
{
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
var coffeeMenu = new List
{
new CoffeeItem { Name = "Espresso", Price = "₹100" },
new CoffeeItem { Name = "Latte", Price = "₹150" },
new CoffeeItem { Name = "Cappuccino", Price = "₹150" }
};
CoffeeMenu.ItemsSource = coffeeMenu;
}
}
public class CoffeeItem
{
public string Name { get; set; }
public string Price { get; set; }
}
}