Adobe Flash (SWF) to XAML Export





 

What is Adobe Flash (SWF) to XAML Export Tool?

This tool allows you to directly open a SWF file and browse through its frames one by one. When you have found a frame that you like, you can either export to a XAML file or copy the XAML to the clipboard for easy pasting into your tool of choice.

To get the SWF2XAML tool up-and-running on your system, follow the follwoing steps:

Step 1- Make sure that you have the .NET Framework 3.0 installed on your machine.

Step 2- download SWF2XAML_0.2.zip from the following link: SWF2XAMLExport

Step 3- Extract all of the files to a folder of your choice.

Step 4- Double-click SWF2XAML.exe to run the tool.

Using Lambda Expressions in C#

What is a Lambda Expression?

A lambda expression is an anonymous function or simply a method that can contain expressions and statements, and can be used to create delegates or expression tree types. All lambda expressions use the lambda operator =>, which is read as “goes to”. The left side of the lambda operator specifies the input parameters (if any) and the right side holds the expression or statement block. The lambda expression x => x * x is read “x goes to x times x.”

The following examples show how to use lambda expressions in C#:

Reading Gmail Atom Feed in C#

 

 

 

What is the Atom?

Atom is a system which makes it easy for you to receive, in one place, regular updates from news websites, blogs, and/or Gmail. You can use Atom with an aggregator (also known as a newsreader, feed reader, or RSS/Atom reader) to receive new message alerts. Note: This feed is only available for Gmail accounts on Google Apps domains.
To use Gmail with Atom, you must already have an aggregator. Then enter https://mail.google.com/mail/feed/atom in the URL field, and enter your Gmail address and password in the fields provided. This will allow the aggregator to look for your new messages.
If you’d like to have a label view in your aggregator, just add the label name to the end of the feed URL. So, to view your ‘work’ label as a feed, it’s https://mail.google.com/mail/feed/atom/work/.
Please keep in mind that Gmail messages will appear in your aggregator only if there are unread messages in your inbox.

The following code shows how to authenticate the Gmail account and how to read/save the atom feed of that account:

LINQ to Craigslist in C#


 

 

 

Searching Craigslist using LINQ

The RSS feed from the results page of Craigslist is an XML file. LINQ to XML is an up-to-date, redesigned approach to programming with XML. It provides the in-memory document modification capabilities of the Document Object Model (DOM), and supports LINQ query expressions. Although these query expressions are syntactically different from XPath, they provide similar functionality.
The following example shows how to search in Craigslist categories by providing the site name, and the category.

Copyright © All Rights Reserved - C# Learners