Commit Graph

100 Commits

Author SHA1 Message Date
ksami
6d836a9fda Add more c#7 features
Added pattern matching, reference locals and local functions under c#7 features
2017-10-27 14:27:14 +08:00
Andre Polykanine A.K.A. Menelion Elensúlë
41ffb9c42f Merge pull request #2949 from ksami/ksami-csharp-tuples
[csharp/en] Add topics for tuples to csharp/en
2017-10-27 02:18:07 +03:00
ksami
4eb33f98b4 add topics for tuples to csharp/en
Added explanation and examples for tuples, deconstruction of tuples and other objects, and discarding unwanted fields during deconstruction
2017-10-24 15:20:20 +08:00
ksami
95b5f9a4c4 #2314 add delegates and events to csharp/en 2017-10-24 13:29:11 +08:00
ksami
467f143b9c add example for verbatim interpolated string 2017-10-23 17:50:07 +08:00
ksami
3e072363d9 missed out the @ symbol 2017-10-23 17:41:57 +08:00
ksami
b01b53a46d clarify use case for verbatim strings
added example for using @ symbol with strings
2017-10-23 17:36:18 +08:00
Pratik Karki
8f1586960f Merge pull request #2823 from ravinderjangra/NewLocalBranch
[csharp/en] C# 7 Feature Tuple
2017-08-25 15:37:06 +05:45
Andre Polykanine A.K.A. Menelion Elensúlë
16d6dc00ce Fixed #2810. Corrected a typo in the CSharp tutorial 2017-08-23 00:32:47 +03:00
Ravinder Jangra
4ee29d1c25 C# 7 Feature Tuple 2017-08-10 11:22:43 +05:30
Larry Boltovskoi
9d0d3a0e34 Spelling mistake that threw me of while reading 2017-08-02 21:03:42 +02:00
angelsl
eb1ed1729b [csharp/en] Add exception filters, pragma directives (#2409)
* [csharp/en] Add exception filters, pragma directives

* Remove redundant catch
2017-02-09 17:40:04 +01:00
Chris
d48aef96f1 Added example of C# inline properties (#1464)
This was a really cool & useful trick/feature that I found while
learning C#.
2016-10-21 17:46:25 +02:00
chriszimmerman
7b96973204 Csharp parallel (#2443)
* [csharp/en] - Attempts to address issue #1064 by using a different parallel example.
2016-10-11 09:33:17 +02:00
angelsl
c947822981 [csharp/en] Add more C# 6 features (#2399)
* C#: Add some new C# 6 features

* Remove trailing whitespace
2016-10-02 14:09:49 +02:00
Durant Schoon
c0577fece6 Correct "Bycles" to "Bicycles"" (#2293)
"DidWeCreateEnoughBycles" -> "DidWeCreateEnoughBicycles"
2016-06-28 08:53:25 +02:00
Shawn McGuire
e9ce4e2e6e [csharp/en] Add string interpolation (#1864)
Added example of using string interpolation
2016-06-26 14:47:36 +02:00
Adam Bard
ef486c2119 Clarify inc/dec operators 2016-05-02 15:15:23 -07:00
Andre Polykanine A.K.A. Menelion Elensúlë
1582603b62 Merge pull request #1741 from chriszimmerman/master
[C#] Fixed minor grammatical changes. Added bitwise enum operator information.
2016-03-15 14:37:28 +02:00
ven
ae7c7d8817 Merge pull request #1697 from DeanBecker/patch-1
Expanded XML Doc example
2016-03-13 10:45:33 +01:00
Jacob Ward
8b06524f3d [csharp/en] libary -> library 2016-03-13 01:03:23 -07:00
Geoff Liu
c139e9aefe Merge pull request #1960 from roymiloh/master
[C#/en] Fix to "extension methods"
2015-12-21 15:22:23 -05:00
Kate Reading
bb1e07bbb7 Clarified grammar in LearnCSharp comment about naming files relative to the classes they contain. Otherwise the two comment lines blended together and were a little comfusing. 2015-11-19 11:23:19 -08:00
roymiloh
23b35d9da0 [C#/en] Fix to "extension methods"
over using "extension functions", it's more accurate.
2015-10-31 17:20:03 +02:00
chris@chriszimmerman.net
04a01fe872 Cleaned up enum flags example. Talked about bitwise operators & and |. 2015-10-22 21:38:55 -04:00
chris@chriszimmerman.net
33ffabafc5 Fixed minor grammatical change. 2015-10-22 21:21:33 -04:00
Dean Becker
e675c887fe Expanded XML Doc example
Just an expansion of the XML documentation example, the <param> tag can be very useful in Visual Studio, especially.
2015-10-20 16:32:49 +01:00
Levi Bostian
4fffeac272 Merge pull request #1552 from adback03/master
ruby and csharp code example updates
2015-10-18 12:07:05 -05:00
chris@chriszimmerman.net
9f510f3044 Fixed indentation in csharp file. 2015-10-17 19:50:09 -04:00
Andrew Backes
d65e738fc3 [csharp/eng] Partial Classes example 2015-10-15 23:26:57 -05:00
chris@chriszimmerman.net
0671147741 Fixed more spacing issues. 2015-10-15 20:41:22 -04:00
chris@chriszimmerman.net
6a173cb28d Fixed spacing. 2015-10-15 20:39:37 -04:00
chris@chriszimmerman.net
4e0db77a0c Added information about out parameters in C#. 2015-10-15 20:37:29 -04:00
Cameron Wood
ad5b0a615b [csharp/en] Fix for a few spelling errors
Fixed a few typos and spelling errors in the C# documentation
2015-10-13 17:03:26 -04:00
Levi Bostian
f4cfe81a21 Merge pull request #1477 from jdpearce/master
Fixed the custom indexer example (setter return type is void)
2015-10-12 23:26:54 -05:00
Levi Bostian
c15be9b013 Merge pull request #1466 from csuich2/csharp-null-propagation
Added info C# null-propagation
2015-10-12 23:19:24 -05:00
Jo Pearce
0cea1d25d5 Added some simple yield examples 2015-10-12 15:19:37 +01:00
Jo Pearce
51f7c4f6a0 Fixed the custom indexer example (setter return type is void) 2015-10-12 14:09:53 +01:00
Chris
5bbd8419b2 Added info C# null-propagation
Another tool I found useful when learning C#
2015-10-10 22:25:39 -07:00
Chris
d97eaa51d2 Added detail on C# single inheritance
Clarified that the base class name must be the first thing listed
2015-10-10 20:52:59 -07:00
Gabriel Halley
960ee4a185 removing whitespace all over 2015-10-07 23:11:24 -04:00
Guntbert Reiter
f1a90a4e63 Put demonstrative condition into ternary expression
It should be made clear that the part before the ternary operator is
indeed a condition, most often created as some comparison expression.
2015-10-04 16:44:24 +02:00
Laoujin
031637455c [CSharp/en]Fixed typo 2015-02-01 19:01:47 +01:00
Laoujin
8911f368de [CSharp/en]extra details for using EntityFramework and namespaces 2015-02-01 06:01:01 +01:00
Laoujin
f5d0208178 [CSharp/en]Fixes for my own changes 2015-02-01 00:04:10 +01:00
Laoujin
90e8dac0b8 [CSharp/en]updated topics not covered + added myself :) 2015-01-31 23:52:19 +01:00
Laoujin
710f9fa03b [CSharp/en]Added exception handling 2015-01-31 23:14:58 +01:00
Laoujin
dc34af2b5d [CSharp/en]Added [Flags] 2015-01-31 22:34:42 +01:00
Laoujin
4f8b16f817 [CSharp/en]Added static property 2015-01-31 22:05:11 +01:00
Laoujin
04c4433433 [CSharp/en]Added ref and out parameters 2015-01-31 21:45:13 +01:00