Compiler - new ways to declare objects, initialise them, and create collections

Public forum to share code snippets, screen shorts, experiences, etc.
Post Reply
User avatar
Phil Hepburn
Posts: 743
Joined: Sun Sep 11, 2016 2:16 pm

Compiler - new ways to declare objects, initialise them, and create collections

Post by Phil Hepburn »

Hi Robert, and all guys,

Robert, I have spent much of today working on the new ways you provided in the very recent compiler update, for us to be able to instantiate objects of a class, as well as initialise them easily. The new stuff is really great, it makes coding a lot easier - and cleaner. I like it a lot.

I have added plenty of material to the Appendix X# of my 'ClickStartLINQ' eNotes, and will make this available to others in good time.

Although I have much useful material, and a handful of images is not by any means 'complete', I have added a few attachments just to interest a few guys in the forum, I hope.

Personally, I feel as much in control (at least) as I do with the C# flexible ways of doing these tasks.

Well done Robert and the Team.

Regards,
Phil.
InstAndInitColl_05.jpg

InstAndInitColl_02.jpg
InstAndInitColl_01.jpg

InstAndInitColl_04.jpg

InstAndInitColl_06.jpg
InstAndInitColl_03.jpg
User avatar
Phil Hepburn
Posts: 743
Joined: Sun Sep 11, 2016 2:16 pm

Compiler - new ways to declare objects, initialise them, and create collections

Post by Phil Hepburn »

Hi all,

Robert we seem to have a link limit of six - so here is the last and seventh attachment ......

Cheers,
Phil.
InstAndInitColl_07.jpg
InstAndInitColl_07.jpg (33.62 KiB) Viewed 339 times
User avatar
Phil Hepburn
Posts: 743
Joined: Sun Sep 11, 2016 2:16 pm

Compiler - new ways to declare objects, initialise them, and create collections

Post by Phil Hepburn »

Hi all,

In case you see the can't access message I see ... here is another try at the images .... >>
Cheers,
Phil.
InstAndInitColl_06.jpg
InstAndInitColl_06.jpg (78.88 KiB) Viewed 339 times
InstAndInitColl_04.jpg
InstAndInitColl_04.jpg (97.73 KiB) Viewed 339 times
InstAndInitColl_05.jpg
InstAndInitColl_05.jpg (30.75 KiB) Viewed 339 times
InstAndInitColl_03.jpg
InstAndInitColl_03.jpg (29.08 KiB) Viewed 339 times
InstAndInitColl_01.jpg
InstAndInitColl_01.jpg (46.71 KiB) Viewed 339 times
InstAndInitColl_02.jpg
InstAndInitColl_02.jpg (46.78 KiB) Viewed 339 times
Post Reply