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; | |
class Program | |
{ | |
static void Main() | |
{ | |
var b = new Base(); | |
b.DoSomething(); | |
// The answer is 42! |
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.Collections.Generic; | |
using System.IO; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using Newtonsoft.Json; | |
#if DEBUG | |
using System.Diagnostics; |
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.Linq; | |
namespace System.Numerics | |
{ | |
public struct BigDecimal : IConvertible, IFormattable, IComparable, IComparable<BigDecimal>, IEquatable<BigDecimal> | |
{ | |
public static readonly BigDecimal MinusOne = new BigDecimal(BigInteger.MinusOne, 0); | |
public static readonly BigDecimal Zero = new BigDecimal(BigInteger.Zero, 0); | |
public static readonly BigDecimal One = new BigDecimal(BigInteger.One, 0); |