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
| namespace RoyalAccounting | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| public static class Program | |
| { |
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
| namespace TextGravity | |
| { | |
| using System; | |
| using System.Diagnostics; | |
| using System.Security; | |
| public static class TextGravity | |
| { | |
| public static void Main() | |
| { |
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
| namespace TextGravity | |
| { | |
| using System; | |
| using System.Security; | |
| public static class TextGravity | |
| { | |
| public static void Main() | |
| { | |
| var lineWidth = int.Parse(Console.ReadLine()); |
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 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)}" |
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
| namespace _04.Events | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text.RegularExpressions; | |
| public static class Events | |
| { | |
| private const string validEventPattern |
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
| namespace _03.SoftuniNumerals | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Numerics; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| public static class SoftuniNumerals | |
| { |
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; | |
| namespace MatrixFill | |
| { | |
| public static class DiagonalMatrix | |
| { | |
| private static readonly int[,] Matrix = new int[10, 10]; | |
| private static int number = 1; | |
| public static void Main() |
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
| namespace ConsoleApplication2 | |
| { | |
| using System; | |
| using System.Linq; | |
| using System.Reflection; | |
| class Test | |
| { | |
| string @private; |
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
| namespace _3.BasicMarkupLanguage | |
| { | |
| using System; | |
| using System.Linq; | |
| using System.Text.RegularExpressions; | |
| public static class BasicMarkupLanguage | |
| { | |
| // WTF? :D | |
| private const string Pattern = |
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; | |
| public static class Shits | |
| { | |
| public static void Main() | |
| { | |
| var num = 5; | |
| var @double = 5.5; | |
| var @string = "string"; | |