Commit Graph

53 Commits

Author SHA1 Message Date
145a94f192 Update index.md (#30085)
Removed an unnecessary example as well as changed the description for the usage of the 'await' keyword. Also added an example for async method declarations.
2019-02-24 19:03:33 -07:00
97834c64d2 Fixed example 2 so that its runnable (#22328)
added some some time consuming code and a return to `CalcDamage`
removed `static` from `CalcTotalDamage` so that the compiler doesn't complain that `CalcDamage` should be static
compiler wasn't happy with `totalDamage += CalcDamage(player);` or `return await Task.WhenAll(totalDamage)` because you are attempting to assign a Task to an int. Fixed it by using `WhenAll` correctly
Changed parameter name of `CalcTotalDamage` from `group` to `people` as  `group` can  be confusing to read as its used with linq
2019-02-24 18:36:06 -07:00
b444d91364 Clean up and fix markdown/spelling errors (#27935)
* Clean up and fix markdown/spelling errors

* fix: removed comma
2019-02-23 22:26:28 -08:00
7381f0b69a Grammatical error fix (#28786)
Fixed some grammatical errors with capitalization and diction.
2019-02-23 14:58:59 -08:00
90263a4916 To add a introductory Paragraph about .net core (#24200)
* To add a introductory Paragraph about .net core

Just thought as a beginner, it is really good to have a basic intro on .net core as i really struggled to understand the .net eco-system when I started out!

* Fix typos, add ref link, clean up sentence
2019-02-13 02:46:22 -05:00
20cf0d106c Reworded and added to csharp interface documentation (#33229)
* Reworded and added to interface documentation

Fixed a few typos and reworded and added parts to the csharp interface documentation

* fix: used single backticks instead of triple backticks
2019-01-26 17:49:49 -08:00
efff592bc6 Corrected syntax for interface. (#32878)
Corrected syntax of interface. From Interface to interface (lowercase on first letter). 
If the first letter on the word interface is uppercase, this will produce an error on Visual Studio stating that: 

The type or namespace name 'Interface' could not be found (are you missing a using directive or an assembly reference?)
2019-01-26 17:30:51 -08:00
069953e0bd Added information (#26367)
Added information to foreach loop. Indicated foreach loop is read only.
2019-01-15 16:57:39 -05:00
40c17b6ba1 feat: add c# guide for lists (#33787)
* feat: add c# guide for lists

* fix: minor grammar fix on how-to-steup-freecodecamp-locally

* fix: corrected typo
2019-01-02 14:51:42 -08:00
191bc0492a Update index.md (#26379)
* Update index.md

Grammar changes, addition of new keyword sentence

* Added code formatting to keywords
2018-12-26 18:49:41 -05:00
37bca450a8 Update index.md (#26376)
Fixed minor wording and syntax issues throughout the  #### Generations in C# GC section.
2018-12-26 18:49:04 -05:00
efb62984c8 Fixed a typo (#34686) 2018-12-15 05:12:53 -08:00
bc64fb970e Update previous section and added new sections (#28279)
Updated the previous section with csharp flavoring and added 2 new sections on implicit sorting and a version of explicit sorting.
2018-12-15 05:10:07 -08:00
95f9584bad Fixed typo's added more information with examples (#26331)
Added more information to the initializing an array sub-topic.
2018-12-15 05:08:19 -08:00
731dda0539 Add information about IndexOutOfRangeException (#25072)
* Add information about IndexOutOfRangeException

Added some information that explains what happens if an invalid index is used while working with arrays.

* Fixed grammar, removed IndexOutOfRangeException
2018-12-15 05:55:23 -05:00
723fa03609 update: added additional note fields (#29551)
* fix: corrected placement of notes

Some "note" fields were preemptive in their placement; I corrected their placement to be in more appropriate locations.

* update: added additional note fields

Added some additional "note" fields to assist those who are reading through the PHP documentation.

* fix: formatting of escape sequence examples

The formatting was a bit jumbled, so I cleaned up the formatting of the escape sequence.

* update: improved examples

I added a new example to demonstrate the use of a "break" statement in a while loop, as well as numbered each example.

* update: add clarifying statement

I added a note at the end of the description, with the goal of being a bit more explicit in terms of what the "continue" statement does.
2018-12-13 00:51:39 -08:00
5b489aaffa Add example (#24406)
* Add example

Added an example of how to use is keyword

* Fixed error in syntax highlighting
2018-12-10 18:08:53 -05:00
048ee477e2 Fixed Error in Code (Variable name) (#24168) 2018-12-06 21:03:20 -05:00
e9587a7a46 Fixed Error in Code (#24162) 2018-12-06 21:00:54 -05:00
37f2de04de Updated index.md (#24117)
Added new language feature listing 'Discards' under section - "New Features Added in C# 7.0"
2018-12-06 17:48:38 -05:00
7498ce0052 Added a few lines to emphasize Interfaces importance to Design patterns. (#23700)
* Added a few lines to emphasize Interfaces importance to Design patterns.

* Fixed several grammatical mistakes
2018-12-01 21:30:11 -05:00
7eb767860a Removed duplicate paragraphs. Added some keywords to refer. (#23692)
* Removed duplicate paragraphs. Added some keywords to refer.

Added some lines about GC also, removed duplicate paragraphs from the text.

* Fixed formatting
2018-12-01 21:29:19 -05:00
29bb99d2db Simple grammatical fixes (#23495) 2018-11-23 22:41:27 -05:00
bcfa28fe03 Fixed grammatical errors in last paragraph (#23457) 2018-11-23 21:18:39 -05:00
b9b5346f8f clarified and added example (#22450)
* Clarified that not all constructors need to look like that
* Added an example of a class extending a base class and implementing 2 interfaces
2018-11-23 07:00:50 -06:00
7ea5810a8a Add description of when clause (#22464) 2018-11-22 06:57:49 -06:00
e612f499c2 Add description of abstract class (#22400) 2018-11-21 09:01:22 -06:00
5ddb059242 Made pretty and clarified (#22392)
* fixed indentations, added line breaks
* split the 3 switch case output examples and specified in which situation they would be executed
2018-11-21 08:58:23 -06:00
b49f534d73 Added the output of a print statement (#22748)
Added the output for a print statement used in a code example.
2018-11-20 18:48:01 -05:00
b92b49efb6 Add description of multidimensional arrays (#22210) 2018-11-18 20:00:14 +00:00
c7499729e2 Add description of jagged arrays (#22290) 2018-11-18 08:26:36 -06:00
9a496d687e Added another catch block (#21965)
* Added another catch block

Added two more catch blocks, so the user can see, he can handle different exception types differently

* fixed comment to match catch statement
2018-11-17 18:16:28 -07:00
8e5e3a7db0 Added a second implementation (#21944)
So it will highlight, that an interface can have multiple implementations (which differs) at the same time
2018-11-17 15:37:20 -07:00
1be36da043 Added information about the Console.ReadKey() (#21922) 2018-11-17 12:05:28 -07:00
77f36c7194 Update variable names. (#23679)
Updated the variable names in the code so that it goes correctly with the example text.
2018-11-17 15:47:25 +05:30
25755ad7ca Added a line to Example 1 (#23115)
Added a line to describe why the output of examples 1-3 only print to the number 4
2018-11-17 00:17:20 -05:00
910b1baaf7 Added return type information of WriteLine (#21913)
* Added return type information of WriteLine

* Fixed grammar
2018-11-16 21:50:35 -05:00
52b2fd8b91 Separate content and example (#22468)
* Separate content and example

* Fixed formatting
2018-11-09 04:09:06 -05:00
af0c94f6e9 Clarified and fixed some horrific errors (#22355)
* Clarified the sentence about zero indexing and that any data type can be stored in an array
* Added spacing between elements
* Fixed declaration format `new nameOfArray[numberOfElements](vals)` is definitely not a thing it should be `new dataType [numberOfElements](vals)`
* Added shorthand definition
* Removed claim that you are storing an array in another array by assigning an alias to it
2018-11-09 04:01:42 -05:00
0ef0dd193a Added visualization of indexes in array. (#22449)
The table provides a visual representation of the array, allowing learners to gain a better understanding of indexes in arrays.
2018-11-08 03:29:39 -05:00
3920b7c4ce Corrected capitalization, corrected to American spellings and typos (#30685)
* Translate challenge subtitles and example challenge text to Spanish

* Corrected errors in syntax and punctuation

* Multiple corrections of it/s to its plus other grammar corrections

* Correction and added paragraph to CSS Flex article

* Corrected my own typo

* Corrected capitalization, American spellings and typos
2018-11-07 10:34:13 -05:00
45a27b2497 Fixed a mistake in explanation of code (#25070)
* Fixed a mistake in explanation

* fix: grammar
2018-11-06 19:35:21 +05:30
f3b64dc4f9 Fixed compilation error/typo (#20933)
* Fixed compilation error

Variable not named. Corrected it to match.

* Fixed formatting
2018-11-04 05:21:47 -05:00
4e92b01111 update index.md (#20623)
Added "no multiple inheritance" to Rules of Inheritance.
2018-10-31 21:08:37 -07:00
9040c01311 Fixed typos, punctuation (#20666)
Also changed class "created" to  "instantiated". Classes don't get created, objects get created.
2018-10-31 21:04:06 -05:00
54f5c274df Removed apostrophe typo (#32963) 2018-10-31 16:33:08 -05:00
296ea16feb Corrected grammar in C# Ternary operator article (#20684) 2018-10-31 13:02:16 -04:00
df288ef43a Created unit-testing file and folder (#20563)
A brief overview of how to do a basic unit test in C#.
2018-10-30 23:33:25 -05:00
e7fd282cde Note on getting caught in while loops. (#20230) 2018-10-28 12:25:10 -05:00
d5ad4e0690 Added note for bracket requirements on if statements (#20196) 2018-10-28 05:13:27 -04:00