Skip to content

Implement C# exercises #2

@kytrinyx

Description

@kytrinyx

Copied from exercism/exercism#1125


To implement C# in a lightweight manner, we need to sidestep creating a project file for every exercise. Using a project also makes it difficult to port to various platforms.

Setup

Linux

TBD

Mac

dmcs Bob.cs BobTest.cs /r:/Users/burtlo/Downloads/NUnit-2.6.3/bin/nunit.framework.dll -target:library
monolinker -a /Users/burtlo/Downloads/NUnit-2.6.3/bin/nunit.framework.dll -a Bob.dll
mono /Users/burtlo/Downloads/NUnit-2.6.3/bin/nunit-console.exe output/Bob.dll
  • Clean up
rm -rf output

Windows

TBD

Minimum Exercises to Implement

The following exercises are required to be created for the path to be launch.

  • bob
  • hamming
  • word-count
  • anagram
  • nucleotide-count
  • phone-number
  • grade-school
  • robot-name
  • leap
  • etl

Additional Exercises to Implement

After the initial set of exercises the following should be implemented to have a more complete test suite.

  • meetup
  • twelve-days
  • space-age
  • gigasecond
  • triangle
  • scrabble-score
  • roman-numerals
  • binary
  • prime-factors
  • raindrops
  • allergies
  • strain
  • atbash-cipher
  • accumulate
  • crypto-square
  • trinary
  • rna-transcription
  • sieve
  • simple-cipher
  • octal
  • luhn
  • pig-latin
  • pythagorean-triplet
  • series
  • difference-of-squares
  • secret-handshake
  • wordy
  • hexadecimal
  • largest-series-product
  • kindergarten-garden
  • binary-search-tree
  • matrix
  • robot-simulator
  • nth-prime
  • palindrome-products
  • pascals-triangle
  • beer-song
  • sum-of-multiples
  • queen-attack
  • saddle-points
  • ocr-numbers
  • simple-linked-list
  • linked-list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions