test
https://github.com/ufcpp/UfcppSample/blob/master/BreakingChanges/VS2015_CS6/KatakanaMiddleDot.cs#L15-22
test
https://gist.github.com/ufcpp/03dd6fc45b643e580d20
test
MathJax MathML
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mrow>
<munder>
<mrow><mi mathvariant="normal">lim</mi></mrow>
<mrow><mi>x</mi><mo>→</mo><mn>0</mn></mrow>
</munder>
</mrow>
<mo></mo>
<mrow>
<mi>g</mi><mfenced separators="|"><mrow><mi>x</mi></mrow></mfenced>
</mrow>
</mrow>
<mo>=</mo>
<mn>0</mn>
</math>
↓
<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"><mml:mrow><mml:mrow><mml:munder><mml:mrow><mml:mi mathvariant="normal">lim</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">n</mml:mi><mml:mo>→</mml:mo><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:munder></mml:mrow><mml:mo></mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi mathvariant="normal">n</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi mathvariant="normal">n</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mrow></mml:math>
<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mrow><mml:munder><mml:mrow><mml:mi mathvariant="normal">lim</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">n</mml:mi><mml:mo>→</mml:mo><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:munder></mml:mrow><mml:mo></mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi mathvariant="normal">n</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi mathvariant="normal">n</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mrow></mml:math>
<math xmlns:mml="http://www.w3.org/1998/Math/MathML">
MathJax Tex
$\displaystyle \lim_{x \to 0} g(x) = 0$
↓
$\displaystyle \lim_{x \to 0} g(x) = 0$
Simple tables
a | b | c |
---|---|---|
x | y | z |
figures
^^^テスト用
embedded tags
versions
Ver. 2.0
Ver. 3.0
Ver. 4.0
Ver. 5.0
Ver. 6
Ver. 7
Ver. 8
Ver. 9
Ver. 10
Ver. 11
source code
var s = "abcあいう😊😀😁"u8; foreach (var x in s[..8]) { Console.WriteLine($"{(int)x:X}"); } readonly record struct S { public static bool operator +(S x) => true; } sealed class C { private int _x = 0; public int X => _x; public void M() { } } /// <summary> /// abc /// summary> class abc(); #if false record R(); #endif
class Program
{
static void Main()
{
int xxxxxxxxx;
int xxxxxxxxx;
}
int X { get; set; }
}
using System;
using System.Text;
using static System.Text.Unicode.Utf8;
const double A = 1.2;
if (args.Length > 0)
{
Console.WriteLine(A);
var buffer = (stackalloc byte[256]);
foreach (var x in args)
{
FromUtf16(x, buffer, out var read, out var writtern);
}
}
Console.WriteLine($"""
abc
{123}
""");
internal record class A();
internal record struct B();
internal class C
{
public int PublicField;
private int _privateField;
public DateOnly Property1 { get; }
public TimeSpan Property2 { get; }
public string ComputedProperty => Property1 + $"{Property2}";
public int Method(int p1, int p2, int p3)
{
var local = p1 + p2 + p3;
return local + _privateField;
}
}
internal readonly ref struct D { }
Blazor (外部)
↑のソースコード: https://github.com/ufcpp/StaticWebApps/tree/main/BlazorWasm/SortVisualizer