This file contains hidden or 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 System; | |
using System.Threading.Tasks; | |
namespace CodeQuiz | |
{ | |
class Program | |
{ | |
static void Main() | |
{ | |
ulong sharedValue = 0; |
This file contains hidden or 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 System.Collections.Generic; | |
using System.Linq; | |
namespace System.Collections.Immutable | |
{ | |
public class ImmutableListWithValueSemantics<T> : IImmutableList<T>, IEquatable<IImmutableList<T>> | |
{ | |
IImmutableList<T> _list; | |
public ImmutableListWithValueSemantics(IImmutableList<T> list) => _list = list; |
This file contains hidden or 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
var output = $"FOO {nameof(R)} BAR " + $" {f(nameof(R))} BAZ "; | |
Console.WriteLine(output); | |
string f(string s) => s; | |
public class R | |
{ | |
} | |
// when compiled as a net6 console app in VS2022 preview 3.1, the above code produces an unexpected result |
This file contains hidden or 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 iText.Kernel.Pdf; | |
using iText.Kernel.Pdf.Canvas.Parser; | |
using iText.Kernel.Pdf.Canvas.Parser.Listener; | |
using Net.Code.Csv; | |
using System.Globalization; | |
using System.Text.RegularExpressions; | |
var folder = args[0]; |
OlderNewer