Skip to content

Commit

Permalink
Remove unused usings from example and exemplar
Browse files Browse the repository at this point in the history
[no important files changed]
  • Loading branch information
ErikSchierboom committed Feb 17, 2025
1 parent e326241 commit 5cfb05b
Show file tree
Hide file tree
Showing 146 changed files with 0 additions and 417 deletions.
2 changes: 0 additions & 2 deletions exercises/concept/attack-of-the-trolls/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

enum AccountType
{
Guest,
Expand Down
1 change: 0 additions & 1 deletion exercises/concept/authentication-system/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;

public class Authenticator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;

Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/bird-watcher/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

class BirdCount
{
private int[] birdsPerDay;
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/booking-up-for-beauty/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

static class Appointment
{
public static DateTime Schedule(string appointmentDateDescription)
Expand Down
3 changes: 0 additions & 3 deletions exercises/concept/building-telemetry/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;


public class RemoteControlCar
{
private int batteryPercentage = 100;
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/calculator-conundrum/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class SimpleCalculator
{
public static string Calculate(int operand1, int operand2, string operation)
Expand Down
3 changes: 0 additions & 3 deletions exercises/concept/developer-privileges/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

public class Authenticator
{
public Identity Admin { get; } = new Identity
Expand Down
3 changes: 0 additions & 3 deletions exercises/concept/faceid-2/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

public class FacialFeatures
{
public string EyeColor { get; }
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/football-match-reports/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class PlayAnalyzer
{
public static string AnalyzeOnField(int shirtNum)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Globalization;

public static class HighSchoolSweethearts
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/hyper-optimized-telemetry/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class TelemetryBuffer
{
public static byte[] ToBuffer(long reading)
Expand Down
3 changes: 0 additions & 3 deletions exercises/concept/hyperia-forex/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Runtime.InteropServices;

public struct CurrencyAmount
{
private decimal amount;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class CentralBank
{
public static string DisplayDenomination(long @base, long multiplier)
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/instruments-of-texas/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public class CalculationException : Exception
{
public CalculationException(int operand1, int operand2, string message, Exception inner) : base(message, inner)
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/interest-is-interesting/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

static class SavingsAccount
{
public static float InterestRate(decimal balance)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

public static class DialingCodes
{
public static Dictionary<int, string> GetEmptyDictionary()
Expand Down
4 changes: 0 additions & 4 deletions exercises/concept/land-grab-in-space/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Reflection;

public struct Coord
{
public Coord(ushort x, ushort y)
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/log-analysis/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class LogAnalysis
{
public static string SubstringAfter(this string str, string delimiter)
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/object-relational-mapping/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public class Orm : IDisposable
{
private Database database;
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/orm-in-one-go/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public class Orm
{
private Database database;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

public interface IRemoteControlCar
{
void Drive();
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/roll-the-die/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public class Player
{
private static Random random = new Random();
Expand Down
1 change: 0 additions & 1 deletion exercises/concept/squeaky-clean/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Text;

public static class Identifier
Expand Down
3 changes: 0 additions & 3 deletions exercises/concept/the-weather-in-deather/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

public class WeatherStation
{
private Reading reading;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections.Generic;

public static class Languages
{
public static List<string> NewList()
Expand Down
2 changes: 0 additions & 2 deletions exercises/concept/weighing-machine/.meta/Exemplar.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

class WeighingMachine
{
private double _weight;
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/accumulate/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

public static class AccumulateExtensions
{
public static IEnumerable<U> Accumulate<T, U>(this IEnumerable<T> collection, Func<T, U> func)
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/acronym/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

public static class Acronym
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/affine-cipher/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public static class AffineCipher
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/all-your-base/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public static class AllYourBase
{
public static int[] Rebase(int inputBase, int[] inputDigits, int outputBase)
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/allergies/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

[Flags]
public enum Allergen
{
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/alphametics/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public static class Alphametics
{
public static IDictionary<char, int> Solve(string equation) => AlphameticsSolver.Solve(Parse(equation));
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/anagram/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Linq;
using System.Collections.Generic;

public class Anagram
{
private string baseWord;
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/armstrong-numbers/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class ArmstrongNumbers
{
public static bool IsArmstrongNumber(int number)
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/atbash-cipher/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public static class AtbashCipher
{
private const int BlockSize = 5;
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/bank-account/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public class BankAccount
{
private readonly object _lock = new object();
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/beer-song/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Linq;

public static class BeerSong
{
public static string Verse(int number)
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/binary-search-tree/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

public class BinarySearchTree : IEnumerable<int>
{
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/binary/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Linq;

public class Binary
{
public static int ToDecimal(string binary)
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/book-store/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public static class BookStore
{
private const decimal BookPrice = 8.0m;
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/bowling/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Collections.Generic;
using System;

public class BowlingGame
{
private const int NumberOfFrames = 10;
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/change/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public static class Change
{
public static int[] FindFewestCoins(int[] coins, int target)
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/circular-buffer/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public class CircularBuffer<T>
{
private readonly int capacity;
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/clock/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public struct Clock
{
public Clock(int hours, int minutes = 0)
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/collatz-conjecture/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class CollatzConjecture
{
public static int Steps(int number)
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/complex-numbers/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public record ComplexNumber(double R, double I)
{
public double Real() => R;
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/connect/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

public enum ConnectWinner
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/crypto-square/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public static class CryptoSquare
{
public static string NormalizedPlaintext(string plaintext) => new string(plaintext.ToLowerInvariant().Where(char.IsLetterOrDigit).ToArray());
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/custom-set/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System.Collections.Generic;
using System.Linq;

public class CustomSet
{
private readonly SortedDictionary<int, int> items = new SortedDictionary<int, int>();
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/darts/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class Darts
{
public static int Score(double x, double y)
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/diamond/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Linq;

public static class Diamond
{
public static string Make(char target)
Expand Down
3 changes: 0 additions & 3 deletions exercises/practice/difference-of-squares/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Linq;

public static class DifferenceOfSquares
{
public static int CalculateSquareOfSum(int max)
Expand Down
1 change: 0 additions & 1 deletion exercises/practice/diffie-hellman/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Numerics;

public static class DiffieHellman
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/dnd-character/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public class DndCharacter
{
private static readonly Random Random = new Random();
Expand Down
4 changes: 0 additions & 4 deletions exercises/practice/dominoes/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

public static class Dominoes
{
public static bool CanChain(IEnumerable<(int, int)> dominoes)
Expand Down
1 change: 0 additions & 1 deletion exercises/practice/dot-dsl/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections;
using System.Collections.Generic;

public class Node : Element
{
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/error-handling/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

public static class ErrorHandling
{
public static void HandleErrorByThrowingException()
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/etl/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections.Generic;

public static class Etl
{
public static Dictionary<string, int> Transform(Dictionary<int, string[]> old)
Expand Down
2 changes: 0 additions & 2 deletions exercises/practice/food-chain/.meta/Example.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Linq;

public static class FoodChain
{
private const int Verses = 8;
Expand Down
Loading

0 comments on commit 5cfb05b

Please sign in to comment.