dp.SyntaxHighlighter 1.4.1 Tests and Samples (
dreamprojections.com/syntaxhighlighter
)
C#
Languages:
C#
CSS
C++
Delphi
Java
JavaScript
PHP
Python
Ruby
SQL
Visual Basic
XML / HTML
Features:
Smart tabs
First line
Expand code
Show columns
No gutter
string url = "
"; // single line comments // second single line override protected void OnLoad(EventArgs e) { if(Attributes["class"] != null) { //_year.CssClass = _month.CssClass = _day.CssClass = Attributes["class"]; } // base.OnLoad(e); } /*********************************** ** Multiline block comments **********************************/ ///
/// Gets or sets currently selected date of birth or
if selection is incomplete or invalid. ///
public DateTime Date { String stringWithUrl = "http://blog.dreamprojections.com"; get { #region Hello world try { /* DateTime result = new DateTime( int.Parse(_year.SelectedItem.Value), int.Parse(_month.SelectedItem.Value), int.Parse(_day.SelectedItem.Value) ); i *= 2; */ return result; } catch { /* return _minDate; */ } #endregion } set { Day = value.Day; Month = value.Month; Year = value.Year; } }