* Added new section
Added a new section for defining what can be returned in custom methods and how to correct a mistake with returns
* Update guide/english/csharp/return/index.md
Co-Authored-By: marcusparsons <marcusparsons@users.noreply.github.com>
* Update guide/english/csharp/return/index.md
Co-Authored-By: marcusparsons <marcusparsons@users.noreply.github.com>
* Update guide/english/csharp/return/index.md
Co-Authored-By: marcusparsons <marcusparsons@users.noreply.github.com>
* Update guide/english/csharp/return/index.md
Co-Authored-By: marcusparsons <marcusparsons@users.noreply.github.com>
* fix: replace sh with shell
fix replace terminal with shell
fix replace node with js
fix replace output with shell
fix replace cs with csharp
fix replace c++ with cpp
fix replace c# with csharp
fix replace javasctipt with js
fix replace syntax with js
fix replace unix with shell
fix replace linux with shell
fix replace java 8 with java
fix replace swift4 with swift
fix replace react.js with jsx
fix replace javascriot with js
fix replace javacsript with js
fix replace c++ - with cpp
fix: corrected various typos
fix: replace Algorithm with nothing
fix: replace xaml with xml
fix: replace solidity with nothing
fix: replace c++ with cpp
fix: replace txt with shell
fix: replace code with json and css
fix: replace console with shell
* Edited previous section and added new sections
Edited previous section to be csharp code base and formatted a bit better. Also added new sections about more complex topics of for loops
* fix: removed repl.it links
* Update index.md
* Added additional section and update previous section
Added an additional section for complex ternary operations and updated previous section to have csharp flavored code rendering.
* Paulywill requested changes
Paulywill requested changes: removed any "I" terminology and my personal REPL link.
* Update index.md
Changed the subheading markdown.
* Update index.md
* Added a Code Example
Added an if...else equivalent of a ternary operator as an example to help readers gain a better understanding of how ternary operators work.
* Update index.md
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.
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
* 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
* 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
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?)
* 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
* 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.
* Removed duplicate paragraphs. Added some keywords to refer.
Added some lines about GC also, removed duplicate paragraphs from the text.
* Fixed formatting
* 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