Skip to content

Implement C# exercises #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
53 tasks done
kytrinyx opened this issue Feb 28, 2014 · 20 comments
Closed
53 tasks done

Implement C# exercises #2

kytrinyx opened this issue Feb 28, 2014 · 20 comments

Comments

@kytrinyx
Copy link
Member

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
@kytrinyx
Copy link
Member Author

kytrinyx commented Mar 9, 2014

Note: @burtlo I moved your commits over to this repository from the exercism.io branch.

@burtlo
Copy link

burtlo commented Mar 10, 2014

Thanks.

@kytrinyx kytrinyx mentioned this issue May 4, 2014
5 tasks
@jwood803
Copy link
Contributor

Added the twelve days exercise.

@ErikSchierboom
Copy link
Member

I am working to implement more of the missing exercises (beer-song and kindergarten-garden at the moment). However, I was wondering if we should use C# 6 features in the examples or not?

@jwood803
Copy link
Contributor

jwood803 commented Feb 8, 2016

If I recall, it comes with VS 2015 Community edition, so that may be ok.

@ErikSchierboom
Copy link
Member

Okay, I'll use C# 6 then. It's only the examples though, the tests themselves should be C# 5 I think.

@ErikSchierboom
Copy link
Member

@kytrinyx PR #53 added four new exercises:

  1. beer-song
  2. pascals-triangle
  3. saddle-points
  4. kindergarten-garden

Could you update your initial comment to check these exercises?

@kytrinyx
Copy link
Member Author

Done. Thanks!

@ErikSchierboom
Copy link
Member

@kytrinyx The linked-list exercise is listed as not completed, but it has in fact already been added

@kytrinyx
Copy link
Member Author

Ah, thanks.

@kytrinyx
Copy link
Member Author

It's in the list twice, actually.

@kytrinyx
Copy link
Member Author

OK, deleted the superfluous one.

@ErikSchierboom
Copy link
Member

@kytrinyx The list of open issues contains the point-mutations exercise, which is now deprecated as per exercism/problem-specifications#184.

@bressain
Copy link
Contributor

@ErikSchierboom removed

@ErikSchierboom
Copy link
Member

@bressain Thanks! Only three to go :)

@ErikSchierboom
Copy link
Member

The matrix exercise has been added: #57

@ErikSchierboom
Copy link
Member

With #58 and #59 merged, all exercises have now been added! 🎉

@jwood803
Copy link
Contributor

Awesome job, @ErikSchierboom! 🍻

@bressain
Copy link
Contributor

Thought I'd never see the day 🙌

@kytrinyx
Copy link
Member Author

Holy smokes, this is great! Thanks y'all :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants