Commit Graph

48 Commits

Author SHA1 Message Date
Clinton Bale
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
Willy David Jr
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
Alvin Christian Quijano
069953e0bd Added information (#26367)
Added information to foreach loop. Indicated foreach loop is read only.
2019-01-15 16:57:39 -05:00
Travis J. Terrell
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
laurGeo
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
pirland
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
Evaldas
efb62984c8 Fixed a typo (#34686) 2018-12-15 05:12:53 -08:00
Marcus Parsons
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
Alvin Christian Quijano
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
Evaldas
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
Corey Abma
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
Evaldas
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
AntTAKEOVER
048ee477e2 Fixed Error in Code (Variable name) (#24168) 2018-12-06 21:03:20 -05:00
AntTAKEOVER
e9587a7a46 Fixed Error in Code (#24162) 2018-12-06 21:00:54 -05:00
Neville Bokdawalla
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
Anirban Ghatak
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
Anirban Ghatak
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
GrantiVersace
29bb99d2db Simple grammatical fixes (#23495) 2018-11-23 22:41:27 -05:00
GrantiVersace
bcfa28fe03 Fixed grammatical errors in last paragraph (#23457) 2018-11-23 21:18:39 -05:00
justingiffard
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
Marcin Grygierczyk
7ea5810a8a Add description of when clause (#22464) 2018-11-22 06:57:49 -06:00
Marcin Grygierczyk
e612f499c2 Add description of abstract class (#22400) 2018-11-21 09:01:22 -06:00
justingiffard
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
AntTAKEOVER
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
Marcin Grygierczyk
b92b49efb6 Add description of multidimensional arrays (#22210) 2018-11-18 20:00:14 +00:00
Marcin Grygierczyk
c7499729e2 Add description of jagged arrays (#22290) 2018-11-18 08:26:36 -06:00
Max Dionysius
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
Max Dionysius
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
Max Dionysius
1be36da043 Added information about the Console.ReadKey() (#21922) 2018-11-17 12:05:28 -07:00
Anirban Ghatak
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
CyberCore1010
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
Max Dionysius
910b1baaf7 Added return type information of WriteLine (#21913)
* Added return type information of WriteLine

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

* Fixed formatting
2018-11-09 04:09:06 -05:00
justingiffard
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
AntTAKEOVER
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
S.Hale
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
Evaldas
45a27b2497 Fixed a mistake in explanation of code (#25070)
* Fixed a mistake in explanation

* fix: grammar
2018-11-06 19:35:21 +05:30
Dominic
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
Karol Skrobot
4e92b01111 update index.md (#20623)
Added "no multiple inheritance" to Rules of Inheritance.
2018-10-31 21:08:37 -07:00
Karol Skrobot
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
igodsmark
54f5c274df Removed apostrophe typo (#32963) 2018-10-31 16:33:08 -05:00
Karol Skrobot
296ea16feb Corrected grammar in C# Ternary operator article (#20684) 2018-10-31 13:02:16 -04:00
jamiehaywood
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
Cory Harkins
e7fd282cde Note on getting caught in while loops. (#20230) 2018-10-28 12:25:10 -05:00
Cory Harkins
d5ad4e0690 Added note for bracket requirements on if statements (#20196) 2018-10-28 05:13:27 -04:00
tynlc
778380e742 Update index.md (#21704)
Added description for C#.
2018-10-20 10:13:57 -07:00
Bouncey
6d511c558a fix(guide): Fix all frontmatter 2018-10-19 16:28:34 +01:00
Mrugesh Mohapatra
da0df12ab7 fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30