OWASP O2 Platform Blog

How to use the Console output in the C# REPL

The VisualStudio C# REPL – O2 Platform can be downloaded here. From the download link you get a Visual Studio Extension (.vsix file extension).

Image

Since this REPL is a great tool for developers, I wanted to use the Console output feature, the following code snippet shows how to achieve this functionability:

var topPanel = "Util - ConsoleOut".popupWindow(500,300);
topPanel.add_ConsoleOut();
//O2File:API_ConsoleOut.cs
Console.WriteLine("This text should be displayed in the Console");

This code produces the following output:

Image

This is a powerful (and easy) feature that can help us to take advantage of the time 🙂

November 9, 2012 - Posted by | .NET, Uncategorized, VisualStudio | , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: