Appendix A. Features Specific to .NET 2.0 and C# 2.0
In This Appendix
Table A-1 provides a shortcut to reference the types and classes described in this book that are supported only in .NET 2.0 and C# 2.0.
Table A-1. .NET 2.0 and C# 2.0 Features Index
Chapter.Section | Feature | Description |
---|---|---|
| Now referred to as a | |
| Has been added to return a Boolean value if a string can be successfully converted into the target type: int iParse = Int32.TryParse("100", out result); | |
Static class | A class containing only static members can be declared. | |
Property access modifier | The get and set accessors can now have modifiers:
| |
Anonymous methods | Eliminates the need for a separate event handler for delegates. ... |
Get Core C# and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.