目次

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>

lim x0 gx = 0

<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">limn1+1nn

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

enter image description here ^^^テスト用

embedded tags

versions

元々 h5 使ってたけど

Ver. 2.0
Ver. 3.0
Ver. 4.0
Ver. 5.0
Ver. 6
Ver. 7
Ver. 8
Ver. 9
Ver. 10
Ver. 11
Ver. 12
Ver. 13

div に変えようかな。

Ver. 2.0
Ver. 3.0
Ver. 4.0
Ver. 5.0
Ver. 6.0
Ver. 7.0
Ver. 7.1
Ver. 7.2
Ver. 7.3
Ver. 8.0
Ver. 9.0
Ver. 10
Ver. 11
Ver. 12
Ver. 13
Ver. 14
Ver. 15
Ver. 16
Ver. 17
Ver. 18
Ver. 19

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 { }

source code (抜粋)

Program.cs へのコピペで動くソースコードと、「一部分抜粋」でそれだけだと動かないやつ、css 変えようかな。

namespace WinFormsApp1;

partial class Form1
{
    // 前略
    // この部分は手書きで書き換える想定。

    #region Windows Form Designer generated code

    /// <summary>
    ///  Required method for Designer support - do not modify
    ///  the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        this.components = new System.ComponentModel.Container();
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
        this.ClientSize = new System.Drawing.Size(800, 450);
        this.Text = "Form1";
    }

    #endregion
}

Blazor (外部)

↑のソースコード: https://github.com/ufcpp/StaticWebApps/tree/main/BlazorWasm/SortVisualizer

更新履歴

ブログ