Welcome, Guest
Username: Password: Remember me
Share your code snippets, screen shots etc. here
  • Page:
  • 1

TOPIC:

Code samples on the X# Documentation Project 30 May 2018 17:14 #4840

  • wriedmann
  • wriedmann's Avatar
  • Topic Author


  • Posts: 3191
  • Hi,

    I've added a section for code samples on the X# Documentation Project:

    docs.xsharp.it/doku.php?id=codesamples:code_samples

    If someone has ideas what I can add, or wishes to contribute some samples, please let me know.

    I'm pretty sure most of you will see something new...

    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    Code samples on the X# Documentation Project 30 May 2018 20:43 #4842

    • robert
    • robert's Avatar


  • Posts: 3178
  • Nice, and thank you for doing this.
    Can I suggest one change:
    "Named parameters in the constructor" is not named correctly. MyProp is not a parameter but a property. This mechanism is called "Instance Initializers" in other languages. Likewise there are also Collection Initializers which result in an automatic call to collection:Add() when used.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Code samples on the X# Documentation Project 30 May 2018 21:48 #4844

    • wriedmann
    • wriedmann's Avatar
    • Topic Author


  • Posts: 3191
  • Hi Robert,

    thank you very much for this correction. My samples are far from being perfect or error free, but they are a starting point.

    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1