This is a test post from Windows Live Writer to see how code will display pasted from various sources.
Sample pasted from Visual Studio:
public object GetValueByIndex(int index){
object returnData = null; if(index<this.EntityProperties.Length){
returnData =
this.EntityProperties[index].GetValue(this,null);}
return returnData;}
Sample pasted from Visual Studio to Word 2007 and into Live Writer:
public object GetValueByIndex(int index)
{
object returnData = null;
if(index<this.EntityProperties.Length)
{
returnData = this.EntityProperties[index].GetValue(this,null);
}
return returnData;
}
Sample pasted from Visual Studio to Notepad and into Live Writer:
public object GetValueByIndex(int index)
{
object returnData = null;
if(index<this.EntityProperties.Length)
{
returnData = this.EntityProperties[index].GetValue(this,null);
}
return returnData;
}
Sample pasted from Visual Studio and then added a <code> block:
public object GetValueByIndex(int index) {
object returnData = null; if(index<this.EntityProperties.Length){
returnData =
this.EntityProperties[index].GetValue(this,null);}
return returnData;}
Sample pasted from Visual Studio to Word 2007 and into Live Writer and then added a <code> block:
public object GetValueByIndex(int index)
{
object returnData = null;
if(index<this.EntityProperties.Length)
{
returnData = this.EntityProperties[index].GetValue(this,null);
}
return returnData;
}
Sample pasted from Visual Studio to Notepad and into Live Writer and then added a <code> block:
public object GetValueByIndex(int index)
{
object returnData = null;
if(index<this.EntityProperties.Length)
{
returnData = this.EntityProperties[index].GetValue(this,null);
}
return returnData;
}
» Similar Posts
- Test Code Post From Graffiti Post Editor
- Test using a source code plug-in for Windows Live Writer
- Dropdown Filter Web Part in SharePoint – Part Two
» Trackbacks & Pingbacks
http://bilbroblog.com/trackback.ashx?id=5
» Comments
-
Brian, you might want to consider using a JavaScript-based syntax highlighter, such as the tool discussed by Scott Hanselman here: www.hanselman.com/.../BestCodeSyntaxH
Scott Mitchell — December 9, 2008 8:44 PM -
Thanks Scott! I'll have to check that out.
Brian Bilbro — December 12, 2008 10:01 PM