From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.46.193 with SMTP id u62mr23610450iou.0.1481722185369; Wed, 14 Dec 2016 05:29:45 -0800 (PST) X-Received: by 10.157.37.247 with SMTP id q110mr6726237ota.5.1481722185323; Wed, 14 Dec 2016 05:29:45 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!n6no424666qtd.0!news-out.google.com!j8ni9540qtc.0!nntp.google.com!p16no423640qta.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 14 Dec 2016 05:29:45 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=57.79.21.1; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 57.79.21.1 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5f542dff-8dd0-49b8-8228-3ccc8248c57d@googlegroups.com> Subject: C# new features (v.7) From: gautier_niouzes@hotmail.com Injection-Date: Wed, 14 Dec 2016 13:29:45 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32819 Date: 2016-12-14T05:29:45-08:00 List-Id: I've come across a list of new features in the upcoming version of C#. Funnily, a good half are already in Ada - four of them actually already in = Ada 1983 ! I've marked here with a '*' those items, a '.' items where I think a simila= r feature exists and '-' where I think the feature doesn't exist in Ada. Comments and corrections are welcome. * Feature # 1 - Binary literals * Feature # 2 - Digit Separators * Feature # 3 - Tuple data type now available as Value type . Feature # 4 - Out parameters now have a fluid usage * Feature # 5 - Local functions . Feature # 6 - Ref returns and ref locals * Feature # 7 - New possibility for throw expressions - Feature # 8 - New possibility for lambda expression bodied methods - Feature # 9 - Pattern matching for types Perhaps an Ada support by Microsoft anytime soon ?... _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada=20 NB: Pour une r=C3=A9ponse directe, adresse e-mail valable par le lien ci-de= ssus