#Leszek
- HTTP 2.0 + gRPC
- Networking - benchmarks and more
- Single image deployment
- Native To managed transition
#Michał
| using System; | |
| using System.Linq; | |
| using BenchmarkDotNet.Attributes; | |
| using BenchmarkDotNet.Running; | |
| // ReSharper disable InconsistentNaming | |
| namespace StructBench | |
| { | |
| class Program | |
| { |
| using System; | |
| using System.Runtime.CompilerServices; | |
| namespace SafeString | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var arr = PlaySafe("Hello World!"); |
| namespace Fs | |
| module Bench = | |
| let condition x = | |
| if (x = 1 || x = 2) then 1 | |
| elif(x = 3 || x = 4) then 2 | |
| else 0 | |
| let conditionReorder x = | |
| if (x = 4 || x = 3) then 2 |
| using System.Collections.Generic; | |
| using NUnit.Framework; | |
| using NUnit.Framework.Constraints; | |
| using System; | |
| using System.Linq; | |
| using System.Reflection; | |
| using NUnit.Framework.Internal; | |
| namespace NUnit_CountBug | |
| { |
| using System.Collections.Generic; | |
| using NUnit.Framework; | |
| namespace NUnit_CountBug | |
| { | |
| [TestFixture] | |
| public class CountBug | |
| { | |
| [Test] | |
| public void CountConstraint_ShouldWorkForInterface() |
| using System; | |
| namespace RecordSettings | |
| { | |
| /// <summary> | |
| /// Collection parsing settings | |
| /// </summary> | |
| /// <remarks>For performance reasons, all delimiters and escaped characters are single chars. This makes a parsing grammar to conform LL1 rules and is very beneficial to overall parsing performance </remarks> | |
| /// <param name="DefaultCapacity">Capacity used for creating initial collection/list/array. Use no value (null) to calculate capacity each time based on input</param> | |
| public abstract record CollectionSettingsBase(char ListDelimiter, char NullElementMarker, char EscapingSequenceStart, char? Start, char? End, byte? DefaultCapacity) : ISettings |
| using System; | |
| using RecordsProducer; | |
| var lizard1 = new Reptile(Habitat.Terrestrial) { Name = "Agama" }; | |
| var lizard2 = new Reptile(Habitat.Terrestrial) { Name = "Agama" }; | |
| //use <LangVersion>latest</LangVersion> | |
| var lizard3 = lizard1 with { Name = "Komodo dragon", Habitat = Habitat.Terrestrial }; |
| using System; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Text; | |
| namespace EncUtf8 | |
| { | |
| class Program | |
| { | |
| private static string _in = @"Rozdział pierwszy |
| using System; | |
| namespace DotnetCommunityDemoNet5 | |
| { | |
| abstract class Component:ICloneable | |
| { | |
| public int ComponentId { get; } | |
| protected Component(int componentId) => ComponentId = componentId; |
#Leszek
#Michał