Announcement

Collapse
No announcement yet.

Hinweise und Formatierung von C#-Code

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hinweise und Formatierung von C#-Code

    Hallo allerseits,

    ich weise darauf hin dass C#-Code mit [highlight=c#]dein Code[/highlight] formatiert werden kann.

    Dies erhöht die Lesbarkeit und somit auch die Chance auf Hilfe.

    Beispiel:
    [highlight=c#]
    public class Foo
    {
    public void DoSomething()
    {
    // Kommentar
    }
    }
    [/highlight]

    Siehe auch: Hinweise für die Fragen


    mfG Gü
    Zuletzt editiert von gfoidl; 26.08.2010, 14:34.
    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand". - Martin Fowler

  • #2
    Mit dem .net code converter kann Code von C# <-> VB.net konvertiert werden.

    Falls ihr also durch Eigenrecherche auf VB.net Code stößt kann dieser mit dem Tool nach C# konvertiert werden.


    mfG Gü
    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand". - Martin Fowler

    Comment

    Working...
    X