This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "closeTab" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Columns; | |
using BenchmarkDotNet.Jobs; | |
using BenchmarkDotNet.Running; | |
using BenchmarkDotNet.Samples; | |
using System; | |
using System.Text; | |
//var s = new StringConcatSimple(); | |
//Console.WriteLine(s.StringInterpolation()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page x:Class="UnoApp8.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:local="using:UnoApp8" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" | |
mc:Ignorable="d"> | |
<Grid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkDotNet.Running; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Jobs; | |
BenchmarkRunner.Run<BM>(); | |
[SimpleJob(RuntimeMoniker.Net80, baseline: true)] | |
[SimpleJob(RuntimeMoniker.Net70)] | |
[SimpleJob(RuntimeMoniker.Net48)] | |
[MemoryDiagnoser(displayGenColumns: false)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Foo("123,456,7890"); | |
Console.WriteLine(); | |
Bar("123,456,7890"); | |
static void Foo(ReadOnlySpan<char> span) { | |
Console.WriteLine(span.SplitNext(',').ToString()); // 123 | |
Console.WriteLine(span.SplitNext(',').ToString()); // 456 | |
Console.WriteLine(span.SplitNext(',').ToString()); // 7890 | |
} |
OlderNewer