Skip to content

Instantly share code, notes, and snippets.

View vdonchev's full-sized avatar

mr.d vdonchev

View GitHub Profile
namespace TextGravity
{
using System;
using System.Security;
public static class TextGravity
{
public static void Main()
{
var lineWidth = int.Parse(Console.ReadLine());
var notes = new
{
Value = new
{
Opponents = new List<string>() { "Oppnent 1", "Opponent 2" }
}
};
Console.WriteLine(notes.Value.Opponents.Count != 0
? $"-opponents: {string.Join(", ", notes.Value.Opponents)}"
namespace _04.Events
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public static class Events
{
private const string validEventPattern
namespace _03.SoftuniNumerals
{
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
public static class SoftuniNumerals
{
using System;
namespace MatrixFill
{
public static class DiagonalMatrix
{
private static readonly int[,] Matrix = new int[10, 10];
private static int number = 1;
public static void Main()
namespace ConsoleApplication2
{
using System;
using System.Linq;
using System.Reflection;
class Test
{
string @private;
namespace _3.BasicMarkupLanguage
{
using System;
using System.Linq;
using System.Text.RegularExpressions;
public static class BasicMarkupLanguage
{
// WTF? :D
private const string Pattern =
using System;
public static class Shits
{
public static void Main()
{
var num = 5;
var @double = 5.5;
var @string = "string";
namespace Kotangens
{
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public static class Program
{
public static void Main()
{
namespace SomeNumbers
{
using System;
public static class Program
{
private static readonly string[] NumbersInWords =
{
"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen", "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "ninety"
};