A dropdown list for markdown
- First item must be preceeded with an empty line.
- Markdown renders perfectly.
- Extra item.
| mkdir HelloWorld | |
| cd HelloWorld | |
| dotnet new sln --name HelloWorld | |
| dotnet new console --name HelloWorld | |
| dotnet new nunit --name HelloWorld.UnitTests | |
| dotnet sln add HelloWorld/HelloWorld.csproj | |
| dotnet sln add HelloWorld.UnitTests/HelloWorld.UnitTests.csproj | |
| dotnet build | |
| dotnet test | |
| dotnet run --project HelloWorld |
Note: "Forked" from Latency Numbers Every Programmer Should Know
| Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
|---|---|---|---|---|
| L1 cache reference | 0.5 | - | - | - |
| Branch mispredict | 5.0 | - | - | - |
| L2 cache reference | 7.0 | - | - | 14x L1 cache |
| Mutex lock/unlock | 25.0 | - | - | - |
| using BenchmarkDotNet.Attributes; | |
| using BenchmarkDotNet.Columns; | |
| using BenchmarkDotNet.Configs; | |
| using BenchmarkDotNet.Jobs; | |
| using BenchmarkDotNet.Reports; | |
| using BenchmarkDotNet.Environments; | |
| namespace ExceptionBenchmark | |
| { | |
| [Config(typeof(Config))] |
| Visual Studio 2022 | |
| Enterprise : | |
| VHF9H-NXBBB-638P6-6JHCY-88JWH | |
| Professional: | |
| TD244-P4NB7-YQ6XK-Y8MMM-YWV2J |
| emoji | unicode | emoji | unicode |
|---|---|---|---|
✒️ :black_nib: |
\U00002712 | ✔️ :heavy_check_mark: |
\U00002714 |
✖️ :heavy_multiplication_x: |
\U00002716 | :bangbang: |
\U0000203C |
✳️ :eight_spoked_asterisk: |
\U00002733 | ✨ :sparkles: |
\U00002728 |
❕ :grey_exclamation: |
\U00002755 | ✴️ :eight_pointed_black_star: |
\U00002734 |
❄️ :snowflake: |
\U00002744 | ❇️ :sparkle: |
\U00002747 |
❌ :x: |
\U0000274c | ❎ :negative_squared_cross_mark: |
\U0000274e |
| using Microsoft.AspNetCore.Mvc; | |
| using System.Text; | |
| using DependencyInjectionAndServiceLifetimes.Interfaces; | |
| namespace DependencyInjectionAndServiceLifetimes.Controllers | |
| { | |
| public class HomeController : Controller | |
| { | |
| private readonly IExampleTransientService _exampleTransientService1; | |
| private readonly IExampleTransientService _exampleTransientService2; |
| public class Order | |
| { | |
| public Guid ID { get { /*…*/ } } | |
| public decimal Total { get { /*…*/ } } | |
| public List<Item> Items { get { /*…*/ } } | |
| public User User { get { /*…*/ } } | |
| public void Load() { /*…*/ } | |
| public void Save() { /*…*/ } | |
| public void Update() { /*…*/ } | |
| public void Remove() { /*…*/ } |