Dolphins

3 rated

Submitted by Stefano do you like american football? Do you like it?



Download this scheme for Visual Studio 2010-2013 Visual Studio 2015 WebMatrix 2 (beta) Visual Studio 2008 Visual Studio 2005 We're using the default font. Log in to change your preferred font Hot or not for

C# code

#region Studio Style class Program : IThemeable { static int _I = 1; delegate void DoSomething (); /// <summary> /// /// /// </summary> static void Main ( string [] args ) { string normalStr = "The time now is approximately " + DateTime . Now ; Uri Illegal1Uri = new Uri ( " http://packmyboxwith/jugs.html?q=five-dozen&t=liquor " ); Regex OperatorRegex = new Regex ( @"\S#$" , RegexOptions . IgnorePatternWhitespace ); for ( int O = 0 ; O < 123456789 ; O ++ ) { _I += ( O % 3 ) * (( O / 1 ) ^ 2 ) - 5 ; if ( ! OperatorRegex . IsMatch ( Illegal1Uri . ToString ())) { Console . WriteLine ( Illegal1Uri + normalStr ); } } } } #endregion

Advanced highlighting

public class Highlighting { string inactiveSelection = "select this" ; string highlightedRef ; Collapsed text public void CollapsibleRegion () { string warning = "assigned but not used" ; } public void Features () { highlightedRef = "again" ; var break = "breakpoint"; SyntaxError (); CompilerError (); #if UNDEFINED_SYMBOL object excludedCode = null; #endif break = "current statement"; } }

HTML / ASP.NET (with CSS and Javascript)

<% @ Page Language = "C#" Inherits = "System.Web.Mvc.ViewPage<List<Person>>" %> <! DOCTYPE html > < html > < head > < title > Studio Style ASP.NET </ title > < style type = "text/css" > .people { font-family : 'Arial Narrow' ; font-size : 100% !important ; } </ style > </ head > < body > < h1 > A test page </ h1 > < ul class = "people" > <% foreach ( Person person in Model ) { %> < li > <% : person . Name %> > ( <% : Html . ActionLink ( "edit" , "Edit" , new { id = 1 }) %> ) </ li > <% } %> </ ul > < script type = "text/javascript" > window . onload = function () { for ( var i = 0 ; i < 23 ; i ++ ) { alert ( "Hello" ); } } </ script > </ body > </ html >

Razor (ASP.NET view engine)

@model List < Person > @{ ViewBag.Title = "Razor" ; Layout = "~/Views/Shared/_Layout.cshtml" ; } < h1 > Razor </ h1 > < ul class = "people" > @ foreach ( Person person in Model ) { < li > @ person . Name > ( @ Html . ActionLink ( "edit" , "Edit" , new { id = 1 }) ) </ li > } </ ul >

XML

<? xml version = " 1.0 " encoding = " utf-8 " ?> <!-- --> < people xmlns:x = " http://studiostyles.info " > < person name = " Jim Jones " ID = " 27 " > < email html = " yes " > jim@example.invalid </ email > < address > < post > 123 Example St, South Brisbane </ post > < city > Brisbane </ city > </ address > < x:comments > <![CDATA[ See? Data. Don't worry about this <tag>. ]]> </ x:comments > </ person > </ people >

XAML