Hilfe:Quelltext: Unterschied zwischen den Versionen

Aus Das Sopra Wiki
Keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 58: Zeile 58:
wird zu:
wird zu:


{{CSharp|
<codesyntax lang="c#">
string url = "&lt;a href=\"" + someObj.getUrl() + "\" target=\"_blank\"&gtl;";
string url = "<a href=\"" + someObj.getUrl() + "\" target=\"_blank\"&gtl;";
// single line comments
// single line comments
// second single line
// second single line
override protected void OnLoad(EventArgs e)
override protected void OnLoad(EventArgs e)
{
{
     if(Attributes["class"] != null)
     if(Attributes["class"] != null)
     {
     {
         //_year.CssClass = Attributes["class"];
         //_year.CssClass = Attributes["class"];
     }
     }
     //  base.OnLoad(e);
     //  base.OnLoad(e);
}
}
}}
</codesyntax>


[[Kategorie:Wiki-Hilfe]]
[[Kategorie:Wiki-Hilfe]]