using System;
using SmartFormat;
public class Program
{
public static void Main()
var data = new {
x = 3,
y = 3
};
Console.WriteLine(Smart.Format("The point ({x}, {y}) {x:choose({y}):is|is not} on the line y = x", data));
Console.WriteLine(Smart.Format("The point ({x}, {y}) {x:cond:={y}?is|is not} on the line y = x", data));
}