<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:series="http://unfoldingneurons.com/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>w3mentor</title>
	
	<link>http://w3mentor.com</link>
	<description>Learning web technologies simplified!</description>
	<lastBuildDate>Thu, 28 Mar 2013 18:03:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/w3mentor" /><feedburner:info uri="w3mentor" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>w3mentor</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>connect asynchronously to sql server</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/2zUZYR6vcys/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-ado-net/connect-asynchronously-to-sql-server/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 18:00:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# ADO.NET]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12245</guid>
		<description>readonly string ConnectionString = &amp;#34;Data Source=database_server_name;Initial Catalog=Store;Integrated Security=True&amp;#34;; protected async void ExecuteCommandAsync&amp;#40;&amp;#41; &amp;#123; &amp;#160; using &amp;#40;SqlConnection con = new SqlConnection&amp;#40;ConnectionString&amp;#41;&amp;#41; &amp;#123; await con.OpenAsync&amp;#40;&amp;#41;; &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/2zUZYR6vcys" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-ado-net/connect-asynchronously-to-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-ado-net/connect-asynchronously-to-sql-server/</feedburner:origLink></item>
		<item>
		<title>Test for websockets support in browser</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/-NsCUTJuQig/</link>
		<comments>http://w3mentor.com/learn/html/html-5/test-for-websockets-support-in-browser/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 17:40:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML 5]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12243</guid>
		<description>if &amp;#40;window.WebSocket&amp;#41;&amp;#123; console.log&amp;#40;&amp;#34;This browser supports WebSocket!&amp;#34;&amp;#41;; &amp;#125; else &amp;#123; console.log&amp;#40;&amp;#34;This browser does not support WebSocket.&amp;#34;&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/-NsCUTJuQig" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/html/html-5/test-for-websockets-support-in-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/html/html-5/test-for-websockets-support-in-browser/</feedburner:origLink></item>
		<item>
		<title>websockets bufferedAmount example</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/C7Pl6L1LAQk/</link>
		<comments>http://w3mentor.com/learn/html/html-5/websockets-bufferedamount-example/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 17:38:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML 5]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12241</guid>
		<description>// 10k max buffer size. var THRESHOLD = 10240; &amp;#160; // Create a New WebSocket connection var ws = new WebSocket&amp;#40;&amp;#34;ws://w3mentor.com&amp;#34;&amp;#41;; &amp;#160; // Listen for the opening event ws.onopen = function &amp;#40;&amp;#41; &amp;#123; &amp;#160; // Attempt to send update every second. setInterval&amp;#40; function&amp;#40;&amp;#41; &amp;#123; // Send only if the buffer is not full if &amp;#40;ws.bufferedAmount [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/C7Pl6L1LAQk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/html/html-5/websockets-bufferedamount-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/html/html-5/websockets-bufferedamount-example/</feedburner:origLink></item>
		<item>
		<title>Test if two matrices are equal in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/dD5Q1hMWjzQ/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/test-if-two-matrices-are-equal-in-c/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 19:56:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12209</guid>
		<description>static bool areMatricesEqual&amp;#40;double&amp;#91;&amp;#93;&amp;#91;&amp;#93; matrixOne, double&amp;#91;&amp;#93;&amp;#91;&amp;#93; matrixTwo, double delta&amp;#41; &amp;#123; &amp;#160; int aRows = matrixOne.Length; int bCols = matrixTwo&amp;#91;0&amp;#93;.Length; for &amp;#40;int i = 0; i &amp;#60; aRows; ++i&amp;#41; // each row of One and Two for &amp;#40;int j = 0; j &amp;#60; bCols; ++j&amp;#41; // each col of One and Two if &amp;#40;Math.Abs&amp;#40;matrixOne&amp;#91;i&amp;#93;&amp;#91;j&amp;#93; - matrixTwo&amp;#91;i&amp;#93;&amp;#91;j&amp;#93;&amp;#41; &amp;#62; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/dD5Q1hMWjzQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/test-if-two-matrices-are-equal-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/test-if-two-matrices-are-equal-in-c/</feedburner:origLink></item>
		<item>
		<title>Create identity matrix in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Cp_biOl9rfU/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/create-identity-matrix-in-c/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 19:53:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12207</guid>
		<description>static double&amp;#91;&amp;#93;&amp;#91;&amp;#93; IdentityMatrix&amp;#40;int n&amp;#41; &amp;#123; double&amp;#91;&amp;#93;&amp;#91;&amp;#93; result = CreateMatrix&amp;#40;n, n&amp;#41;; for &amp;#40;int i = 0; i &amp;#60; n; ++i&amp;#41; result&amp;#91;i&amp;#93;&amp;#91;i&amp;#93; = 1.0; return result; &amp;#125; static double&amp;#91;&amp;#93;&amp;#91;&amp;#93; CreateMatrix&amp;#40;int rows, int cols&amp;#41; &amp;#123; double&amp;#91;&amp;#93;&amp;#91;&amp;#93; result = new double&amp;#91;rows&amp;#93;&amp;#91;&amp;#93;; for &amp;#40;int i = 0; i &amp;#60; rows; ++i&amp;#41; result&amp;#91;i&amp;#93; = new double&amp;#91;cols&amp;#93;; return result; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Cp_biOl9rfU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/create-identity-matrix-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/create-identity-matrix-in-c/</feedburner:origLink></item>
		<item>
		<title>Parallel matrix multiplication in C# using task parallel library</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/9l8IcTIZUaI/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/parallel-matrix-multiplication-in-c-using-task-parallel-library/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 19:50:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12204</guid>
		<description>static double&amp;#91;&amp;#93;&amp;#91;&amp;#93; MatrixMultiplication&amp;#40;double&amp;#91;&amp;#93;&amp;#91;&amp;#93; matrixOne, double&amp;#91;&amp;#93;&amp;#91;&amp;#93; matrixTwo&amp;#41; &amp;#123; //aRows = rows in matrixOne //bCols = columns in matrixTwo double&amp;#91;&amp;#93;&amp;#91;&amp;#93; result = CreateMatrix&amp;#40;aRows, bCols&amp;#41;; Parallel.For&amp;#40;0, aRows, i =&amp;#62; &amp;#123; for &amp;#40;int j = 0; j &amp;#60; bCols; ++j&amp;#41; for &amp;#40;int k = 0; k &amp;#60; aCols; ++k&amp;#41; result&amp;#91;i&amp;#93;&amp;#91;j&amp;#93; += matrixOne&amp;#91;i&amp;#93;&amp;#91;k&amp;#93; * matrixTwo&amp;#91;k&amp;#93;&amp;#91;j&amp;#93;; &amp;#125; &amp;#41;; return result; &amp;#125; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/9l8IcTIZUaI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/parallel-matrix-multiplication-in-c-using-task-parallel-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/parallel-matrix-multiplication-in-c-using-task-parallel-library/</feedburner:origLink></item>
		<item>
		<title>Matrix multiplication in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/k_YN6rq00pQ/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/matrix-multiplication-in-c/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 19:47:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12201</guid>
		<description>static double&amp;#91;&amp;#93;&amp;#91;&amp;#93; MatrixMultiplication&amp;#40;double&amp;#91;&amp;#93;&amp;#91;&amp;#93; matrixOne, double&amp;#91;&amp;#93;&amp;#91;&amp;#93; matrixTwo&amp;#41; &amp;#123; int aRows = matrixOne.Length; int aCols = matrixOne&amp;#91;0&amp;#93;.Length; int bRows = matrixTwo.Length; int bCols = matrixTwo&amp;#91;0&amp;#93;.Length; if &amp;#40;aCols != bRows&amp;#41; throw new Exception&amp;#40;&amp;#34;Out of shape matrices&amp;#34;&amp;#41;; double&amp;#91;&amp;#93;&amp;#91;&amp;#93; result = CreateMatrix&amp;#40;aRows, bCols&amp;#41;; for &amp;#40;int i = 0; i &amp;#60; aRows; ++i&amp;#41; // each row of MatrixOne for &amp;#40;int j [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/k_YN6rq00pQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/matrix-multiplication-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/matrix-multiplication-in-c/</feedburner:origLink></item>
		<item>
		<title>Create matrix in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/7BpTeHrUXIw/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/create-matrix-in-c/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 19:43:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12199</guid>
		<description>static double&amp;#91;&amp;#93;&amp;#91;&amp;#93; CreateMatrix&amp;#40;int rows, int cols&amp;#41; &amp;#123; double&amp;#91;&amp;#93;&amp;#91;&amp;#93; result = new double&amp;#91;rows&amp;#93;&amp;#91;&amp;#93;; for &amp;#40;int i = 0; i &amp;#60; rows; ++i&amp;#41; result&amp;#91;i&amp;#93; = new double&amp;#91;cols&amp;#93;; // return result; &amp;#125; double&amp;#91;&amp;#93;&amp;#91;&amp;#93; m = CreateMatrix&amp;#40;4,3&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/7BpTeHrUXIw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/create-matrix-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/create-matrix-in-c/</feedburner:origLink></item>
		<item>
		<title>TreeMap in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/ApCTN1cMx6E/</link>
		<comments>http://w3mentor.com/learn/java/collections/treemap-in-java/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:31:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Collections]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12197</guid>
		<description>import java.util.TreeMap; &amp;#160; public class dimensionsExample &amp;#123; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; TreeMap&amp;#60;String,String&amp;#62; dimensions = new TreeMap&amp;#60;String,String&amp;#62;&amp;#40;&amp;#41;; dimensions.put&amp;#40;&amp;#34;NC&amp;#34;, &amp;#34;2333&amp;#34;&amp;#41;; dimensions.put&amp;#40;&amp;#34;NY&amp;#34;, &amp;#34;2334&amp;#34;&amp;#41;; dimensions.put&amp;#40;&amp;#34;SC&amp;#34;, &amp;#34;2335&amp;#34;&amp;#41;; dimensions.put&amp;#40;&amp;#34;CA&amp;#34;, &amp;#34;2336&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;CA: &amp;#34; + dimensions.get&amp;#40;&amp;#34;CA&amp;#34;&amp;#41;&amp;#41;; dimensions.put&amp;#40;&amp;#34;AZ&amp;#34;, &amp;#34;2337&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;Size of dimensions: &amp;#34; + dimensions.size&amp;#40;&amp;#41;&amp;#41;; dimensions.remove&amp;#40;&amp;#34;SC&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;Size of dimensions: &amp;#34; + dimensions.size&amp;#40;&amp;#41;&amp;#41;; &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/ApCTN1cMx6E" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/collections/treemap-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/collections/treemap-in-java/</feedburner:origLink></item>
		<item>
		<title>HashMap in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/XOtpvZQz748/</link>
		<comments>http://w3mentor.com/learn/java/collections/hashmap-in-java/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:30:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Collections]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12195</guid>
		<description>import java.util.HashMap; &amp;#160; public class prices &amp;#123; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; HashMap&amp;#60;String,Integer&amp;#62; prices = new HashMap&amp;#60;String,Integer&amp;#62;&amp;#40;&amp;#41;; prices.put&amp;#40;&amp;#34;walmart&amp;#34;, 88&amp;#41;; prices.put&amp;#40;&amp;#34;target&amp;#34;, 100&amp;#41;; prices.put&amp;#40;&amp;#34;kmart&amp;#34;, 77&amp;#41;; prices.put&amp;#40;&amp;#34;lowes&amp;#34;, 90&amp;#41;; System.out.println&amp;#40;&amp;#34;walmart's price: &amp;#34; + prices.get&amp;#40;&amp;#34;walmart&amp;#34;&amp;#41;&amp;#41;; System.out.println&amp;#40;&amp;#34;Number of prices: &amp;#34; + prices.size&amp;#40;&amp;#41;&amp;#41;; if &amp;#40;prices.containsKey&amp;#40;&amp;#34;target&amp;#34;&amp;#41;&amp;#41; &amp;#123; prices.remove&amp;#40;&amp;#34;target&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;Record successfully removed.&amp;#34;&amp;#41;; &amp;#125; System.out.println&amp;#40;&amp;#34;number of prices: &amp;#34; + prices.size&amp;#40;&amp;#41;&amp;#41;; &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/XOtpvZQz748" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/collections/hashmap-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/collections/hashmap-in-java/</feedburner:origLink></item>
		<item>
		<title>Use TreeSet to parse sentences for word count in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/HuyFKB2wzvU/</link>
		<comments>http://w3mentor.com/learn/java/collections/use-treeset-to-parse-sentences-for-word-count-in-java/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:27:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Collections]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12193</guid>
		<description>import java.util.TreeSet; &amp;#160; public class WordList &amp;#123; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; String text; text = &amp;#34;Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, &amp;#34; + &amp;#34;when an unknown printer took a galley of type and scrambled it to make a type specimen book &amp;#34; + &amp;#34;It has survived [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/HuyFKB2wzvU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/collections/use-treeset-to-parse-sentences-for-word-count-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/collections/use-treeset-to-parse-sentences-for-word-count-in-java/</feedburner:origLink></item>
		<item>
		<title>HashSet in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/CPL5owfuVy4/</link>
		<comments>http://w3mentor.com/learn/java/collections/hashset-in-java/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:24:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Collections]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12191</guid>
		<description>import java.util.HashSet; &amp;#160; public class myHashsetExample &amp;#123; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; HashSet&amp;#60;String&amp;#62; languages = new HashSet&amp;#60;String&amp;#62;&amp;#40;&amp;#41;; languages.add&amp;#40;&amp;#34;hindi&amp;#34;&amp;#41;; languages.add&amp;#40;&amp;#34;english&amp;#34;&amp;#41;; languages.add&amp;#40;&amp;#34;spanish&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;The number of languages is &amp;#34; + languages.size&amp;#40;&amp;#41;&amp;#41;; for &amp;#40;String name : languages&amp;#41; &amp;#123; System.out.println&amp;#40;name&amp;#41;; &amp;#125; languages.remove&amp;#40;&amp;#34;hindi&amp;#34;&amp;#41;; languages.add&amp;#40;&amp;#34;tamil&amp;#34;&amp;#41;; String name = &amp;#34;hindi&amp;#34;; if &amp;#40;languages.contains&amp;#40;name&amp;#41;&amp;#41; &amp;#123; System.out.println&amp;#40;name + &amp;#34; is in the collection.&amp;#34;&amp;#41;; &amp;#125; else [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/CPL5owfuVy4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/collections/hashset-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/collections/hashset-in-java/</feedburner:origLink></item>
		<item>
		<title>PriorityQueue in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/8-gnwxrLd9c/</link>
		<comments>http://w3mentor.com/learn/java/collections/priorityqueue-in-java/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:21:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Collections]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12189</guid>
		<description>import java.util.PriorityQueue; &amp;#160; public class Cars &amp;#123; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; PriorityQueue&amp;#60;String&amp;#62; car = new PriorityQueue&amp;#60;String&amp;#62;&amp;#40;&amp;#41;; car.add&amp;#40;&amp;#34;lincoln&amp;#34;&amp;#41;; car.add&amp;#40;&amp;#34;ford&amp;#34;&amp;#41;; car.add&amp;#40;&amp;#34;suzuki&amp;#34;&amp;#41;; car.add&amp;#40;&amp;#34;toyota&amp;#34;&amp;#41;; car.add&amp;#40;&amp;#34;nissan&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;The car: &amp;#34;&amp;#41;; for &amp;#40;String name : car&amp;#41; &amp;#123; System.out.println&amp;#40;name&amp;#41;; &amp;#125; car.poll&amp;#40;&amp;#41;; System.out.println&amp;#40;&amp;#34;The car: &amp;#34;&amp;#41;; for &amp;#40;String name : car&amp;#41; &amp;#123; System.out.println&amp;#40;name&amp;#41;; &amp;#125; car.remove&amp;#40;&amp;#34;suzuki&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;The car: &amp;#34;&amp;#41;; for &amp;#40;String name : car&amp;#41; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/8-gnwxrLd9c" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/collections/priorityqueue-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/collections/priorityqueue-in-java/</feedburner:origLink></item>
		<item>
		<title>TreeSet in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/BfYcCkCPDq0/</link>
		<comments>http://w3mentor.com/learn/java/collections/treeset-in-java/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:20:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Collections]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12187</guid>
		<description>import java.util.TreeSet; &amp;#160; public class myTreeSet &amp;#123; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; TreeSet&amp;#60;String&amp;#62; animals = new TreeSet&amp;#60;String&amp;#62;&amp;#40;&amp;#41;; animals.add&amp;#40;&amp;#34;Dog&amp;#34;&amp;#41;; animals.add&amp;#40;&amp;#34;Cat&amp;#34;&amp;#41;; animals.add&amp;#40;&amp;#34;Sparrow&amp;#34;&amp;#41;; animals.add&amp;#40;&amp;#34;Iguana&amp;#34;&amp;#41;; animals.add&amp;#40;&amp;#34;Dragon&amp;#34;&amp;#41;; animals.add&amp;#40;&amp;#34;Peacock&amp;#34;&amp;#41;; System.out.println&amp;#40;&amp;#34;Number of animals = &amp;#34; + animals.size&amp;#40;&amp;#41;&amp;#41;; for &amp;#40;String name : animals&amp;#41; &amp;#123; System.out.println&amp;#40;name&amp;#41;; &amp;#125; System.out.println&amp;#40;&amp;#34;Animal before Sparrow: &amp;#34; + animals.lower&amp;#40;&amp;#34;Sparrow&amp;#34;&amp;#41;&amp;#41;; System.out.println&amp;#40;&amp;#34;Animal after Sparrow: &amp;#34; + animals.higher&amp;#40;&amp;#34;Sparrow&amp;#34;&amp;#41;&amp;#41;; System.out.println&amp;#40;&amp;#34;First element: &amp;#34; + [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/BfYcCkCPDq0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/collections/treeset-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/collections/treeset-in-java/</feedburner:origLink></item>
		<item>
		<title>Arraylist in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/7wOnO3kzncg/</link>
		<comments>http://w3mentor.com/learn/java/collections/arraylist-in-java/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:17:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Collections]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12184</guid>
		<description>import java.util.ArrayList; &amp;#160; public class myArrayList &amp;#123; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; ArrayList&amp;#60;Integer&amp;#62; vals = new ArrayList&amp;#60;Integer&amp;#62;&amp;#40;&amp;#41;; vals.add&amp;#40;100&amp;#41;; vals.add&amp;#40;90&amp;#41;; vals.add&amp;#40;80&amp;#41;; vals.add&amp;#40;70&amp;#41;; vals.add&amp;#40;60&amp;#41;; int total = 0; /*for(int i = 0; i &amp;#60; vals.size(); ++i) { total += vals.get(i); }*/ for &amp;#40;Integer val : vals&amp;#41; &amp;#123; total += val; &amp;#125; double average = total / [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/7wOnO3kzncg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/collections/arraylist-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/collections/arraylist-in-java/</feedburner:origLink></item>
		<item>
		<title>Working with tuples in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/DD989E_gpzQ/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/working-with-tuples-in-c/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 23:32:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12181</guid>
		<description>public static Tuple&amp;#60;int, string&amp;#62; GenerateTuple&amp;#40;&amp;#41; &amp;#123; return Tuple.Create&amp;#40;1, &amp;#34;my site&amp;#34;&amp;#41;; &amp;#125; var tupp = GenerateTuple&amp;#40;&amp;#41;; Console.WriteLine&amp;#40;tupp.GetType&amp;#40;&amp;#41;&amp;#41;; Console.WriteLine&amp;#40;&amp;#34;{0}:{1}&amp;#34;, tupp.Item1, tupp.Item2&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/DD989E_gpzQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/working-with-tuples-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/working-with-tuples-in-c/</feedburner:origLink></item>
		<item>
		<title>What are c# Tuples?</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/18HjIrRXrmY/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/what-are-c-tuples/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 23:30:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12179</guid>
		<description>In C#, a tuple represents a set of data in a single data structure. Tuples can: 1. Provide easy access and manipulation of a set of data. 2. Return multiple values from a method. 3. Pass multiple values to a method in a single parameter. Example: var myTuple = Tuple.Create&amp;#40;&amp;#34;w3mentor&amp;#34;, new DateTime&amp;#40;2009, 12, 8&amp;#41;&amp;#41;; Console.WriteLine&amp;#40;&amp;#34;{0} [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/18HjIrRXrmY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/what-are-c-tuples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/what-are-c-tuples/</feedburner:origLink></item>
		<item>
		<title>Common types of events in jQuery</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/KSSDtRIJaJ0/</link>
		<comments>http://w3mentor.com/learn/javascript-examples/jquery/common-types-of-events-in-jquery/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 23:24:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12177</guid>
		<description>.blur() .change() .click() .dblclick() .error() .focus() .focusin() .focusout() .hover() .keydown() .keypress() .keyup() .load() .mousedown() .mouseenter() .mouseleave() .mousemove() .mouseout() .mouseover() .mouseup() .ready() .resize() .scroll() .select() .submit() .unload()&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/KSSDtRIJaJ0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/javascript-examples/jquery/common-types-of-events-in-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/javascript-examples/jquery/common-types-of-events-in-jquery/</feedburner:origLink></item>
		<item>
		<title>Bind event to event handler in jquery</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/SR6Lhe-Fft8/</link>
		<comments>http://w3mentor.com/learn/javascript-examples/jquery/bind-event-to-event-handler-in-jquery/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 23:23:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12175</guid>
		<description>&amp;#60;script type=&amp;#34;text/javascript&amp;#34;&amp;#62; $&amp;#40;document&amp;#41;.ready&amp;#40;function&amp;#40;&amp;#41;&amp;#123; $&amp;#40;&amp;#34;#b1&amp;#34;&amp;#41;.bind&amp;#40;&amp;#34;click&amp;#34;, function&amp;#40;&amp;#41; &amp;#123; var message=&amp;#34;You clicked a button&amp;#34;; window.alert&amp;#40;message&amp;#41;; &amp;#125;&amp;#41;; &amp;#125;&amp;#41;; &amp;#60;/script&amp;#62; &amp;#60;p&amp;#62;&amp;#60;input type=&amp;#34;button&amp;#34; id=&amp;#34;b1&amp;#34; value=&amp;#34;Click Me&amp;#34;/&amp;#62;&amp;#60;/p&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/SR6Lhe-Fft8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/javascript-examples/jquery/bind-event-to-event-handler-in-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/javascript-examples/jquery/bind-event-to-event-handler-in-jquery/</feedburner:origLink></item>
		<item>
		<title>change text decoration css using jquery</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/NC31_R4U1wI/</link>
		<comments>http://w3mentor.com/learn/javascript-examples/jquery/change-text-decoration-css-using-jquery/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 23:18:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12173</guid>
		<description>&amp;#60;head&amp;#62; &amp;#60;script type=&amp;#34;text/javascript&amp;#34; src=&amp;#34;jquery-1.7.21.7.2.js&amp;#34;&amp;#62; &amp;#60;/script&amp;#62; &amp;#60;script type=&amp;#34;text/javascript&amp;#34;&amp;#62; /* &amp;#60;![CDATA[ */ $&amp;#40;document&amp;#41;.ready&amp;#40;function&amp;#40;&amp;#41;&amp;#123; $&amp;#40;&amp;#34;#mylink&amp;#34;&amp;#41;.mouseover&amp;#40;function&amp;#40;&amp;#41;&amp;#123; $&amp;#40;this&amp;#41;.css&amp;#40;&amp;#34;textDecoration&amp;#34;, &amp;#34;underline&amp;#34;&amp;#41;; &amp;#125;&amp;#41;; $&amp;#40;&amp;#34;#mylink&amp;#34;&amp;#41;.mouseout&amp;#40;function&amp;#40;&amp;#41;&amp;#123; $&amp;#40;this&amp;#41;.css&amp;#40;&amp;#34;textDecoration&amp;#34;, &amp;#34;none&amp;#34;&amp;#41;; &amp;#125;&amp;#41;; &amp;#125;&amp;#41;; /* ]]&amp;#62; */ &amp;#60;/script&amp;#62; &amp;#60;/head&amp;#62; &amp;#60;body&amp;#62; &amp;#60;p&amp;#62;&amp;#60;a id=&amp;#34;mylink&amp;#34; href=&amp;#34;http://w3mentor.com&amp;#34; style=&amp;#34;text-decoration: none&amp;#34;&amp;#62; w3mentor.com&amp;#60;/a&amp;#62;&amp;#60;/p&amp;#62; &amp;#60;/body&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/NC31_R4U1wI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/javascript-examples/jquery/change-text-decoration-css-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/javascript-examples/jquery/change-text-decoration-css-using-jquery/</feedburner:origLink></item>
		<item>
		<title>Populating Android ListView from Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/F-BjlYYCezI/</link>
		<comments>http://w3mentor.com/learn/java/android-development/populating-android-listview-from-java/#comments</comments>
		<pubDate>Wed, 21 Nov 2012 15:47:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12169</guid>
		<description>&amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;#62; &amp;#60;LinearLayout xmlns:android=&amp;#34;http://schemas.android.com/apk/res/android&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;fill_parent&amp;#34; android:orientation=&amp;#34;vertical&amp;#34; &amp;#62; &amp;#160; &amp;#160; &amp;#60;ListView android:id=&amp;#34;@+id/statesList&amp;#34; android:layout_width=&amp;#34;match_parent&amp;#34; android:layout_height=&amp;#34;fill_parent&amp;#34; /&amp;#62; &amp;#160; &amp;#60;/LinearLayout&amp;#62; package com.w3mentor.android; &amp;#160; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; &amp;#160; public class MyListViewActivity extends Activity &amp;#123; /** Called when the activity is first created. */ @Override public [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/F-BjlYYCezI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/populating-android-listview-from-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/populating-android-listview-from-java/</feedburner:origLink></item>
		<item>
		<title>Android TableLayout with ImageView</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/dBqonfp9U-c/</link>
		<comments>http://w3mentor.com/learn/java/android-development/android-tablelayout-with-imageview/#comments</comments>
		<pubDate>Wed, 21 Nov 2012 15:43:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12167</guid>
		<description>&amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;#62; &amp;#60;LinearLayout xmlns:android=&amp;#34;http://schemas.android.com/apk/res/android&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;fill_parent&amp;#34; android:orientation=&amp;#34;vertical&amp;#34; &amp;#62; &amp;#160; &amp;#60;TextView android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:text=&amp;#34;States of The USA&amp;#34; /&amp;#62; &amp;#160; &amp;#60;TableLayout android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34;&amp;#62; &amp;#60;TableRow&amp;#62; &amp;#160; &amp;#60;ImageView android:id=&amp;#34;@+id/imageView1&amp;#34; android:layout_width=&amp;#34;wrap_content&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:src=&amp;#34;@drawable/california&amp;#34; /&amp;#62; &amp;#160; &amp;#60;ImageView android:id=&amp;#34;@+id/imageView2&amp;#34; android:layout_width=&amp;#34;wrap_content&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:src=&amp;#34;@drawable/nevada&amp;#34; /&amp;#62; &amp;#160; &amp;#60;ImageView android:id=&amp;#34;@+id/imageView3&amp;#34; android:layout_width=&amp;#34;wrap_content&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:src=&amp;#34;@drawable/washington&amp;#34; /&amp;#62; &amp;#160; &amp;#60;ImageView android:id=&amp;#34;@+id/imageView5&amp;#34; android:layout_width=&amp;#34;wrap_content&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:src=&amp;#34;@drawable/ohio&amp;#34; /&amp;#62; &amp;#160; &amp;#160; &amp;#60;/TableRow&amp;#62; &amp;#60;TableRow&amp;#62; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/dBqonfp9U-c" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/android-tablelayout-with-imageview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/android-tablelayout-with-imageview/</feedburner:origLink></item>
		<item>
		<title>Android RelativeLayout example</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/UBVb6c5P4Wk/</link>
		<comments>http://w3mentor.com/learn/java/android-development/android-relativelayout-example/#comments</comments>
		<pubDate>Wed, 21 Nov 2012 15:40:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12165</guid>
		<description>&amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;#62; &amp;#60;LinearLayout xmlns:android=&amp;#34;http://schemas.android.com/apk/res/android&amp;#34; android:id=&amp;#34;@+id/wrapperLayout&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;fill_parent&amp;#34; &amp;#62; &amp;#60;RelativeLayout android:id=&amp;#34;@+id/relativeLayout1&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:padding=&amp;#34;3dp&amp;#34;&amp;#62; &amp;#160; &amp;#60;TextView android:id=&amp;#34;@+id/textView1&amp;#34; android:layout_width=&amp;#34;wrap_content&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:layout_alignParentLeft=&amp;#34;true&amp;#34; android:layout_alignParentTop=&amp;#34;true&amp;#34; android:text=&amp;#34;User Name:&amp;#34; /&amp;#62; &amp;#160; &amp;#60;EditText android:id=&amp;#34;@+id/editText1&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:layout_alignLeft=&amp;#34;@+id/textView1&amp;#34; android:layout_below=&amp;#34;@+id/textView1&amp;#34; &amp;#62; &amp;#60;/EditText&amp;#62; &amp;#160; &amp;#60;TextView android:id=&amp;#34;@+id/textView2&amp;#34; android:layout_width=&amp;#34;wrap_content&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:layout_alignLeft=&amp;#34;@+id/editText1&amp;#34; android:layout_below=&amp;#34;@+id/editText1&amp;#34; android:text=&amp;#34;Passoword&amp;#34; /&amp;#62; &amp;#160; &amp;#60;EditText android:id=&amp;#34;@+id/editText2&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:layout_alignLeft=&amp;#34;@+id/editText1&amp;#34; android:layout_below=&amp;#34;@+id/textView2&amp;#34; /&amp;#62; &amp;#160; &amp;#60;Button android:id=&amp;#34;@+id/button1&amp;#34; android:layout_width=&amp;#34;wrap_content&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/UBVb6c5P4Wk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/android-relativelayout-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/android-relativelayout-example/</feedburner:origLink></item>
		<item>
		<title>Android LinearLayout example</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/95aCknEzo38/</link>
		<comments>http://w3mentor.com/learn/java/android-development/android-linearlayout-example/#comments</comments>
		<pubDate>Wed, 21 Nov 2012 15:39:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12163</guid>
		<description>&amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;#62; &amp;#60;LinearLayout xmlns:android=&amp;#34;http://schemas.android.com/apk/res/android&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;fill_parent&amp;#34; android:orientation=&amp;#34;vertical&amp;#34; android:gravity=&amp;#34;center_vertical&amp;#34;&amp;#62; &amp;#160; &amp;#60;TextView android:id=&amp;#34;@+id/textView1&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:text=&amp;#34;White&amp;#34; android:textAppearance=&amp;#34;?android:attr/textAppearanceLarge&amp;#34; android:background=&amp;#34;@color/White&amp;#34; android:textColor=&amp;#34;#000000&amp;#34; android:gravity=&amp;#34;center_horizontal&amp;#34; android:layout_weight=&amp;#34;.5&amp;#34;/&amp;#62; &amp;#160; &amp;#60;TextView android:id=&amp;#34;@+id/textView2&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:text=&amp;#34;Green&amp;#34; android:textAppearance=&amp;#34;?android:attr/textAppearanceLarge&amp;#34; android:background=&amp;#34;@color/Green&amp;#34; android:gravity=&amp;#34;center_horizontal&amp;#34; android:layout_weight=&amp;#34;.16&amp;#34;/&amp;#62; &amp;#160; &amp;#60;TextView android:id=&amp;#34;@+id/textView3&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:text=&amp;#34;Yellow&amp;#34; android:textAppearance=&amp;#34;?android:attr/textAppearanceLarge&amp;#34; android:background=&amp;#34;@color/Yellow&amp;#34; android:textColor=&amp;#34;#000000&amp;#34; android:gravity=&amp;#34;center_horizontal&amp;#34; android:layout_weight=&amp;#34;.16&amp;#34;/&amp;#62; &amp;#160; &amp;#60;TextView android:id=&amp;#34;@+id/textView4&amp;#34; android:layout_width=&amp;#34;fill_parent&amp;#34; android:layout_height=&amp;#34;wrap_content&amp;#34; android:text=&amp;#34;Red&amp;#34; android:textAppearance=&amp;#34;?android:attr/textAppearanceLarge&amp;#34; android:background=&amp;#34;@color/Red&amp;#34; android:gravity=&amp;#34;center_horizontal&amp;#34; android:layout_weight=&amp;#34;.16&amp;#34;/&amp;#62; &amp;#160; &amp;#60;/LinearLayout&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/95aCknEzo38" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/android-linearlayout-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/android-linearlayout-example/</feedburner:origLink></item>
		<item>
		<title>simple string search in php</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/k86QhQ1TpkU/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-regular-expressions/simple-string-search-in-php/#comments</comments>
		<pubDate>Thu, 15 Nov 2012 19:58:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Regular Expressions]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12161</guid>
		<description>&amp;#60;?php $string_to_search = &amp;#34;w3mentor.com&amp;#34;; $regex = &amp;#34;/tor/&amp;#34;; $num_matches = preg_match&amp;#40;$regex, $string_to_search&amp;#41;; &amp;#160; if &amp;#40;$num_matches &amp;#62; 0&amp;#41; &amp;#123; echo &amp;#34;Found a match!&amp;#34;; &amp;#125; else &amp;#123; echo &amp;#34;No match. Sorry.&amp;#34;; &amp;#125; ?&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/k86QhQ1TpkU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-regular-expressions/simple-string-search-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-regular-expressions/simple-string-search-in-php/</feedburner:origLink></item>
		<item>
		<title>Create maximizable, resizable ExtGWT Window</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/yVwrzHZVqDk/</link>
		<comments>http://w3mentor.com/learn/java/ext-gwt-gxt/create-maximizable-resizable-extgwt-window/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 18:22:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ext GWT (GXT)]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12151</guid>
		<description>@Override public void onModuleLoad&amp;#40;&amp;#41; &amp;#123; &amp;#160; // create and set up window Window basicWindow = new Window&amp;#40;&amp;#41;; basicWindow.setHeading&amp;#40;&amp;#34;My maximizable, resizable ExtGWT Window&amp;#34;&amp;#41;; basicWindow.setClosable&amp;#40;true&amp;#41;; basicWindow.setSize&amp;#40;150, 100&amp;#41;; xWindow.setDraggable&amp;#40;true&amp;#41;; xWindow.setResizable&amp;#40;true&amp;#41;; xWindow.setMaximizable&amp;#40;true&amp;#41;; xWindow.setModal&amp;#40;true&amp;#41;; xWindow.setBlinkModal&amp;#40;true&amp;#41;; &amp;#160; // prepare content to show LayoutContainer textPanel = new VerticalPanel&amp;#40;&amp;#41;; textPanel.setStyleAttribute&amp;#40;&amp;#34;padding&amp;#34;, &amp;#34;10px&amp;#34;&amp;#41;; textPanel.addText&amp;#40;&amp;#34;This is my maximizable, resizable ExtGWT Window ...&amp;#34;&amp;#41;; &amp;#160; // add content [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/yVwrzHZVqDk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/ext-gwt-gxt/create-maximizable-resizable-extgwt-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/ext-gwt-gxt/create-maximizable-resizable-extgwt-window/</feedburner:origLink></item>
		<item>
		<title>Display basic window using Ext GWT</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/FmNeNU0O23A/</link>
		<comments>http://w3mentor.com/learn/java/ext-gwt-gxt/display-basic-window-using-ext-gwt/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 18:19:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ext GWT (GXT)]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12149</guid>
		<description>@Override public void onModuleLoad&amp;#40;&amp;#41; &amp;#123; &amp;#160; // create and set up window Window basicWindow = new Window&amp;#40;&amp;#41;; basicWindow.setHeading&amp;#40;&amp;#34;My ExtGWT Window&amp;#34;&amp;#41;; basicWindow.setClosable&amp;#40;true&amp;#41;; basicWindow.setSize&amp;#40;150, 100&amp;#41;; &amp;#160; // prepare content to show LayoutContainer textPanel = new VerticalPanel&amp;#40;&amp;#41;; textPanel.setStyleAttribute&amp;#40;&amp;#34;padding&amp;#34;, &amp;#34;10px&amp;#34;&amp;#41;; textPanel.addText&amp;#40;&amp;#34;This is my window ...&amp;#34;&amp;#41;; &amp;#160; // add content and show window basicWindow.add&amp;#40;textPanel&amp;#41;; basicWindow.show&amp;#40;&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/FmNeNU0O23A" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/ext-gwt-gxt/display-basic-window-using-ext-gwt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/ext-gwt-gxt/display-basic-window-using-ext-gwt/</feedburner:origLink></item>
		<item>
		<title>LINQ Queries to Nongeneric Collections in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/k_aewAArFVI/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/linq-queries-to-nongeneric-collections-in-c/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 16:05:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# ASP.NET LINQ]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12144</guid>
		<description>static void Main&amp;#40;string&amp;#91;&amp;#93; args&amp;#41; &amp;#123; ArrayList myBikes = new ArrayList&amp;#40;&amp;#41; &amp;#123; new Bike&amp;#123; PetName = &amp;#34;bike1&amp;#34;, Color = &amp;#34;Silver&amp;#34;, Speed = 100, Make = &amp;#34;BMW&amp;#34;&amp;#125;, new Bike&amp;#123; PetName = &amp;#34;bike2&amp;#34;, Color = &amp;#34;Tan&amp;#34;, Speed = 90, Make = &amp;#34;BMW&amp;#34;&amp;#125;, new Bike&amp;#123; PetName = &amp;#34;bike3&amp;#34;, Color = &amp;#34;Black&amp;#34;, Speed = 55, Make = &amp;#34;Yamaha&amp;#34;&amp;#125;, new Bike&amp;#123; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/k_aewAArFVI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/linq-queries-to-nongeneric-collections-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/linq-queries-to-nongeneric-collections-in-c/</feedburner:origLink></item>
		<item>
		<title>Applying LINQ Queries to Collection Objects in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/4UyFjuSMBFM/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/applying-linq-queries-to-collection-objects-in-c/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 16:02:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# ASP.NET LINQ]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12141</guid>
		<description>class Bike &amp;#123; public string Name &amp;#123;get; set;&amp;#125; public string Color &amp;#123;get; set;&amp;#125; public int Speed &amp;#123;get; set;&amp;#125; public string Make &amp;#123;get; set;&amp;#125; &amp;#125; static void Main&amp;#40;string&amp;#91;&amp;#93; args&amp;#41; &amp;#123; Console.WriteLine&amp;#40;&amp;#34;***** LINQ over Generic Collections *****\n&amp;#34;&amp;#41;; &amp;#160; // Make a List&amp;#60;&amp;#62; of Bike objects. List&amp;#60;Bike&amp;#62; myBikes = new List&amp;#60;Bike&amp;#62;&amp;#40;&amp;#41; &amp;#123; new Bike&amp;#123; PetName = &amp;#34;bike1&amp;#34;, Color [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/4UyFjuSMBFM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/applying-linq-queries-to-collection-objects-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/applying-linq-queries-to-collection-objects-in-c/</feedburner:origLink></item>
		<item>
		<title>Using Indexer Definitions in C# Interfaces</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/k3hGfrYyXEY/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-indexer-definitions-in-c-interfaces/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 15:25:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12139</guid>
		<description>Interface with Indexer: public interface IStringDef &amp;#123; string this&amp;#91;int index&amp;#93; &amp;#123; get; set; &amp;#125; &amp;#125; Class implementing the interface: class MyClass : IStringDef &amp;#123; private List&amp;#60;string&amp;#62; allStrings = new List&amp;#60;string&amp;#62;&amp;#40;&amp;#41;; &amp;#160; public string this&amp;#91;int index&amp;#93; &amp;#123; get &amp;#123; return allStrings&amp;#91;index&amp;#93;; &amp;#125; set &amp;#123; allStrings.Insert&amp;#40;index, value&amp;#41;; &amp;#125; &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/k3hGfrYyXEY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-indexer-definitions-in-c-interfaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-indexer-definitions-in-c-interfaces/</feedburner:origLink></item>
		<item>
		<title>Indexing Data Using String Values in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/hwdJTWWsR00/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/indexing-data-using-string-values-in-c/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 15:21:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12136</guid>
		<description>public class PersonCollection : IEnumerable &amp;#123; private Dictionary&amp;#60;string, Person&amp;#62; listOfPeople = new Dictionary&amp;#60;string, Person&amp;#62;&amp;#40;&amp;#41;; &amp;#160; // This indexer returns a person based on a string index. public Person this&amp;#91;string name&amp;#93; &amp;#123; get &amp;#123; return &amp;#40;Person&amp;#41;listOfPeople&amp;#91;name&amp;#93;; &amp;#125; set &amp;#123; listOfPeople&amp;#91;name&amp;#93; = value; &amp;#125; &amp;#125; &amp;#160; public void ClearPeople&amp;#40;&amp;#41; &amp;#123; listOfPeople.Clear&amp;#40;&amp;#41;; &amp;#125; &amp;#160; public int Count &amp;#123; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/hwdJTWWsR00" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/indexing-data-using-string-values-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/indexing-data-using-string-values-in-c/</feedburner:origLink></item>
		<item>
		<title>Indexer Methods in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/MbdZ53W6ZDI/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/indexer-methods-in-c/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 15:19:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12134</guid>
		<description>// Indexers allow you to access items in an array-like fashion. class Program &amp;#123; static void Main&amp;#40;string&amp;#91;&amp;#93; args&amp;#41; &amp;#123; &amp;#160; PersonCollection allPeople = new PersonCollection&amp;#40;&amp;#41;; &amp;#160; // Add objects with indexer syntax. allPeople&amp;#91;0&amp;#93; = new Person&amp;#40;&amp;#34;Homer&amp;#34;, &amp;#34;Simpson&amp;#34;, 40&amp;#41;; allPeople&amp;#91;1&amp;#93; = new Person&amp;#40;&amp;#34;Marge&amp;#34;, &amp;#34;Simpson&amp;#34;, 38&amp;#41;; allPeople&amp;#91;2&amp;#93; = new Person&amp;#40;&amp;#34;Lisa&amp;#34;, &amp;#34;Simpson&amp;#34;, 9&amp;#41;; allPeople&amp;#91;3&amp;#93; = new Person&amp;#40;&amp;#34;Bart&amp;#34;, &amp;#34;Simpson&amp;#34;, [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/MbdZ53W6ZDI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/indexer-methods-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/indexer-methods-in-c/</feedburner:origLink></item>
		<item>
		<title>Using the index operator in a simple array</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/DgEs0XZxZiA/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-the-index-operator-in-a-simple-array/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 15:16:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12132</guid>
		<description>static void Main&amp;#40;string&amp;#91;&amp;#93; args&amp;#41; &amp;#123; // Loop over incoming command-line arguments // using index operator. for&amp;#40;int i = 0; i &amp;#60; args.Length; i++&amp;#41; Console.WriteLine&amp;#40;&amp;#34;Args: {0}&amp;#34;, args&amp;#91;i&amp;#93;&amp;#41;; &amp;#160; // Declare an array of local integers. int&amp;#91;&amp;#93; myInts = &amp;#123; 10, 9, 100, 432, 9874&amp;#125;; &amp;#160; // Use the index operator to access each element. for&amp;#40;int j [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/DgEs0XZxZiA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-the-index-operator-in-a-simple-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-the-index-operator-in-a-simple-array/</feedburner:origLink></item>
		<item>
		<title>Open file for read/write operation in binary mode</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/eVBQ6nz8PTs/</link>
		<comments>http://w3mentor.com/learn/cc/file-access-processing/open-file-for-readwrite-operation-in-binary-mode/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 19:56:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[File access & processing]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12130</guid>
		<description># include &amp;#60;stdio.h&amp;#62; # include &amp;#60;conio.h&amp;#62; # include &amp;#60;process.h&amp;#62; &amp;#160; void main&amp;#40;&amp;#41; &amp;#123; FILE *fp; char c=' '; clrscr&amp;#40;&amp;#41;; fp=fopen&amp;#40;&amp;#34;mydata.dat&amp;#34;,&amp;#34;wb&amp;#34;&amp;#41;; if &amp;#40;fp==NULL&amp;#41; &amp;#123; printf&amp;#40;&amp;#34;Can not open file&amp;#34;&amp;#41;; exit&amp;#40;1&amp;#41;; &amp;#125; printf&amp;#40;&amp;#34;Press '.' to exit:&amp;#34;&amp;#41;; while&amp;#40;c!='.'&amp;#41; &amp;#123; c=getche&amp;#40;&amp;#41;; fputc&amp;#40;c,fp&amp;#41;; &amp;#125; fclose&amp;#40;fp&amp;#41;; fp=fopen&amp;#40;&amp;#34;mydata.dat&amp;#34;,&amp;#34;rb&amp;#34;&amp;#41;; &amp;#160; printf&amp;#40;&amp;#34;\n Contents read :&amp;#34;&amp;#41;; while&amp;#40;!feof&amp;#40;fp&amp;#41;&amp;#41; printf&amp;#40;&amp;#34;%c&amp;#34;,getc&amp;#40;fp&amp;#41;&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/eVBQ6nz8PTs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/file-access-processing/open-file-for-readwrite-operation-in-binary-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/file-access-processing/open-file-for-readwrite-operation-in-binary-mode/</feedburner:origLink></item>
		<item>
		<title>Open a file in append mode in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/abNo58wOvqY/</link>
		<comments>http://w3mentor.com/learn/cc/file-access-processing/open-a-file-in-append-mode-in-c/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 19:53:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[File access & processing]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12128</guid>
		<description># include &amp;#60;stdio.h&amp;#62; # include &amp;#60;conio.h&amp;#62; # include &amp;#60;process.h&amp;#62; &amp;#160; void main&amp;#40;&amp;#41; &amp;#123; FILE *fp; char c=' '; clrscr&amp;#40;&amp;#41;; fp=fopen&amp;#40;&amp;#34;mydata.txt&amp;#34;,&amp;#34;a+&amp;#34;&amp;#41;; if&amp;#40;fp==NULL&amp;#41; &amp;#123; printf&amp;#40;&amp;#34;Can not open file&amp;#34;&amp;#41;; exit&amp;#40;1&amp;#41;; &amp;#125; printf&amp;#40;&amp;#34;Press '.' to exit:&amp;#34;&amp;#41;; while&amp;#40;c!='.'&amp;#41; &amp;#123; c=getche&amp;#40;&amp;#41;; fputc&amp;#40;c,fp&amp;#41;; &amp;#125; printf&amp;#40;&amp;#34;\n Contents read :&amp;#34;&amp;#41;; rewind&amp;#40;fp&amp;#41;; while&amp;#40;!feof&amp;#40;fp&amp;#41;&amp;#41; printf&amp;#40;&amp;#34;%c&amp;#34;,getc&amp;#40;fp&amp;#41;&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/abNo58wOvqY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/file-access-processing/open-a-file-in-append-mode-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/file-access-processing/open-a-file-in-append-mode-in-c/</feedburner:origLink></item>
		<item>
		<title>Use w+ mode for writing and reading a file in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/RIlOIMwenFU/</link>
		<comments>http://w3mentor.com/learn/cc/file-access-processing/use-w-mode-for-writing-and-reading-a-file-in-c/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 19:52:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[File access & processing]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12126</guid>
		<description># include &amp;#60;stdio.h&amp;#62; # include &amp;#60;conio.h&amp;#62; # include &amp;#60;process.h&amp;#62; void main&amp;#40;&amp;#41; &amp;#123; FILE *fp; char c=' '; clrscr&amp;#40;&amp;#41;; fp=fopen&amp;#40;&amp;#34;mydata.txt&amp;#34;,&amp;#34;w+&amp;#34;&amp;#41;; if&amp;#40;fp==NULL&amp;#41; &amp;#123; printf&amp;#40;&amp;#34;Can not open file&amp;#34;&amp;#41;; exit&amp;#40;1&amp;#41;; &amp;#125; printf&amp;#40;&amp;#34;press '.' to exit :&amp;#34;&amp;#41;; while&amp;#40;c!='.'&amp;#41; &amp;#123; c=getche&amp;#40;&amp;#41;; fputc&amp;#40;c,fp&amp;#41;; &amp;#125; rewind&amp;#40;fp&amp;#41;; printf&amp;#40;&amp;#34;\n Contents read :&amp;#34;&amp;#41;; &amp;#160; while&amp;#40;!feof&amp;#40;fp&amp;#41;&amp;#41; printf&amp;#40;&amp;#34;%c&amp;#34;,getc&amp;#40;fp&amp;#41;&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/RIlOIMwenFU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/file-access-processing/use-w-mode-for-writing-and-reading-a-file-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/file-access-processing/use-w-mode-for-writing-and-reading-a-file-in-c/</feedburner:origLink></item>
		<item>
		<title>Open pre-existing file and append string to file in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/uGzVIt3r_nE/</link>
		<comments>http://w3mentor.com/learn/cc/file-access-processing/open-pre-existing-file-and-append-string-to-file-in-c/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 19:50:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[File access & processing]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12124</guid>
		<description># include &amp;#60;stdio.h&amp;#62; # include &amp;#60;conio.h&amp;#62; # include &amp;#60;process.h&amp;#62; void main&amp;#40;&amp;#41; &amp;#123; FILE *fp; char c; clrscr&amp;#40;&amp;#41;; &amp;#160; printf&amp;#40;&amp;#34;File before appending :\n&amp;#34;&amp;#41;; &amp;#160; fp=fopen&amp;#40;&amp;#34;mydata.txt&amp;#34;,&amp;#34;r&amp;#34;&amp;#41;; while&amp;#40;!feof&amp;#40;fp&amp;#41;&amp;#41; &amp;#123; c=fgetc&amp;#40;fp&amp;#41;; printf&amp;#40;&amp;#34;%c&amp;#34;,c&amp;#41;; &amp;#125; fp=fopen&amp;#40;&amp;#34;mydata.txt&amp;#34;,&amp;#34;a&amp;#34;&amp;#41;; &amp;#160; if&amp;#40;fp==NULL&amp;#41; &amp;#123; printf&amp;#40;&amp;#34;File can not appended&amp;#34;&amp;#41;; exit&amp;#40;1&amp;#41;; &amp;#125; printf&amp;#40;&amp;#34;\n Enter string to append :&amp;#34;&amp;#41;; &amp;#160; while&amp;#40;c!='.'&amp;#41; &amp;#123; c=getche&amp;#40;&amp;#41;; fputc&amp;#40;c,fp&amp;#41;; &amp;#125; fclose&amp;#40;fp&amp;#41;; &amp;#160; printf&amp;#40;&amp;#34;\n File [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/uGzVIt3r_nE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/file-access-processing/open-pre-existing-file-and-append-string-to-file-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/file-access-processing/open-pre-existing-file-and-append-string-to-file-in-c/</feedburner:origLink></item>
		<item>
		<title>program to write data to text file and read in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/w9SYbFWV0ks/</link>
		<comments>http://w3mentor.com/learn/cc/file-access-processing/program-to-write-data-to-text-file-and-read-in-c/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 19:47:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[File access & processing]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12122</guid>
		<description># include &amp;#60;stdio.h&amp;#62; # include &amp;#60;conio.h&amp;#62; # include &amp;#60;process.h&amp;#62; &amp;#160; void main&amp;#40;&amp;#41; &amp;#123; FILE *fp; char c=' '; clrscr&amp;#40;&amp;#41;; fp=fopen&amp;#40;&amp;#34;mydata.txt&amp;#34;,&amp;#34;w&amp;#34;&amp;#41;; if&amp;#40;fp==NULL&amp;#41; &amp;#123; printf&amp;#40;&amp;#34;Can not open file mydata.txt&amp;#34;&amp;#41;; exit&amp;#40;1&amp;#41;; &amp;#125; printf&amp;#40;&amp;#34;Write data, press '-' to exit:&amp;#34;&amp;#41;; while&amp;#40;c!='-'&amp;#41; &amp;#123; c=getche&amp;#40;&amp;#41;; fputc&amp;#40;c,fp&amp;#41;; &amp;#125; fclose&amp;#40;fp&amp;#41;; printf&amp;#40;&amp;#34;\n Contents read :&amp;#34;&amp;#41;; fp=fopen&amp;#40;&amp;#34;mydata.txt&amp;#34;,&amp;#34;r&amp;#34;&amp;#41;; while&amp;#40;!feof&amp;#40;fp&amp;#41;&amp;#41; printf&amp;#40;&amp;#34;%c&amp;#34;,getc&amp;#40;fp&amp;#41;&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/w9SYbFWV0ks" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/file-access-processing/program-to-write-data-to-text-file-and-read-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/file-access-processing/program-to-write-data-to-text-file-and-read-in-c/</feedburner:origLink></item>
		<item>
		<title>Mongodb connection in Python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/wRPJxsQ_NrA/</link>
		<comments>http://w3mentor.com/learn/python/mongodb-python/mongodb-connection-in-python/#comments</comments>
		<pubDate>Thu, 14 Jun 2012 15:14:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MongoDB]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12119</guid>
		<description>from pymongo import Connection connection = Connection&amp;#40;‘localhost’, 27017&amp;#41; db = connection.mydb collection = db.mycollection for doc in collection.find&amp;#40;&amp;#41;: doc&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/wRPJxsQ_NrA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/mongodb-python/mongodb-connection-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/mongodb-python/mongodb-connection-in-python/</feedburner:origLink></item>
		<item>
		<title>Connect to mongodb in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/y8PbzR8tjlk/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/connect-to-mongodb-in-php/#comments</comments>
		<pubDate>Thu, 14 Jun 2012 15:11:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MongoDB]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12116</guid>
		<description>$connection = new Mongo&amp;#40; “localhost:27017” &amp;#41;; $collection = $connection-&amp;#62;mydb-&amp;#62;mycollection; $cursor = $collection-&amp;#62;find&amp;#40;&amp;#41;; foreach &amp;#40;$cursor as $id =&amp;#62; $value&amp;#41; &amp;#123; echo “$id: “; var_dump&amp;#40; $value &amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/y8PbzR8tjlk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/connect-to-mongodb-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/connect-to-mongodb-in-php/</feedburner:origLink></item>
		<item>
		<title>Insertion sort example in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/9mz3ERHXit8/</link>
		<comments>http://w3mentor.com/learn/cc/interview-questions-cc/insertion-sort-example-in-c/#comments</comments>
		<pubDate>Mon, 21 May 2012 16:48:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12113</guid>
		<description>/* */ # define n 6 int x&amp;#91;&amp;#93;=&amp;#123;4, 3, 6, 2, 8, 9&amp;#125;; main&amp;#40; &amp;#41; &amp;#123; int I, t, j,. printf&amp;#40;“\n\n Input data: \n \n”&amp;#41;; for&amp;#40;I=0; I&amp;#60;n; I++&amp;#41; printf&amp;#40;*%3d*, x&amp;#91;I&amp;#93;&amp;#41;; printf&amp;#40;*\n*&amp;#41;; for I=1; I&amp;#60;n; I++&amp;#41; for&amp;#40;j=1, j&amp;#62;0 &amp;#38;&amp;#38; x&amp;#91;j&amp;#93;&amp;#60;x&amp;#91;j-1&amp;#93;; j — —&amp;#41; &amp;#123; t=x&amp;#91;j&amp;#93;; x&amp;#91;j&amp;#93;=x&amp;#91;j-1&amp;#93;; x&amp;#91;j-1&amp;#93;=t; &amp;#125; printf&amp;#40;“\n\n Output data: \n \n”&amp;#41;; for&amp;#40;I=0; I&amp;#60;6; I++&amp;#41; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/9mz3ERHXit8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/interview-questions-cc/insertion-sort-example-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/interview-questions-cc/insertion-sort-example-in-c/</feedburner:origLink></item>
		<item>
		<title>Size of array in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/SKk6hztBIvQ/</link>
		<comments>http://w3mentor.com/learn/cc/arrays-cc/size-of-array-in-c/#comments</comments>
		<pubDate>Mon, 21 May 2012 16:46:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Arrays]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12111</guid>
		<description>#include &amp;#60;stdio.h&amp;#62; #define N 5 /* Size of array */ main&amp;#40; &amp;#41; &amp;#123; int A&amp;#91;N&amp;#93;; /* Space for A[0].........A[4] is allocated */ int j,sum=0; for&amp;#40;i=0; i&amp;#60;N; i++&amp;#41; A&amp;#91;i&amp;#93;=i*i; /* Initialize the array */ for&amp;#40;i=0;i&amp;#60;N; i++&amp;#41; /* Display array elements */ printf&amp;#40;“ A&amp;#91;%d&amp;#93;=%d”, i, A &amp;#91;i&amp;#93; &amp;#41;; for&amp;#40;i =0; i &amp;#60;N; ++i&amp;#41; /* Find total */ [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/SKk6hztBIvQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/arrays-cc/size-of-array-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/arrays-cc/size-of-array-in-c/</feedburner:origLink></item>
		<item>
		<title>Dimension resource file in Android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/BrowkUxDC3s/</link>
		<comments>http://w3mentor.com/learn/java/android-development/dimension-resource-file-in-android/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 16:58:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12107</guid>
		<description>Store the resource file in /res/values/dimens.xml &amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;#62; &amp;#60;resources&amp;#62; &amp;#60;dimen name=&amp;#34;thumbDim&amp;#34;&amp;#62;100px&amp;#60;/dimen&amp;#62; &amp;#60;/resources&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/BrowkUxDC3s" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/dimension-resource-file-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/dimension-resource-file-in-android/</feedburner:origLink></item>
		<item>
		<title>String resource file in Android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/RMFOANmuBWs/</link>
		<comments>http://w3mentor.com/learn/java/android-development/string-resource-file-in-android/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 16:57:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12105</guid>
		<description>&amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;#62; &amp;#60;resources&amp;#62; &amp;#60;string name=&amp;#34;app_name&amp;#34;&amp;#62;Name this App&amp;#60;/string&amp;#62; &amp;#60;string name=&amp;#34;hello&amp;#34;&amp;#62;Hello&amp;#60;/string&amp;#62; &amp;#60;/resources&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/RMFOANmuBWs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/string-resource-file-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/string-resource-file-in-android/</feedburner:origLink></item>
		<item>
		<title>Example of color resource file in Android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/pXs2BlT9cQg/</link>
		<comments>http://w3mentor.com/learn/java/android-development/example-of-color-resource-file-in-android/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 16:55:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12103</guid>
		<description>&amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;#62; &amp;#60;resources&amp;#62; &amp;#60;color name=&amp;#34;background_color&amp;#34;&amp;#62;#006400&amp;#60;/color&amp;#62; &amp;#60;color name=&amp;#34;app_text_color&amp;#34;&amp;#62;#FFE4C4&amp;#60;/color&amp;#62; &amp;#60;/resources&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/pXs2BlT9cQg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/example-of-color-resource-file-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/example-of-color-resource-file-in-android/</feedburner:origLink></item>
		<item>
		<title>Start web browser with URL in android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/O1H21rUBXJA/</link>
		<comments>http://w3mentor.com/learn/java/android-development/start-web-browser-with-url-in-android/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 16:54:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12101</guid>
		<description>Uri address = Uri.parse&amp;#40;&amp;#34;http://w3mentor.com&amp;#34;&amp;#41;; Intent surf = new Intent&amp;#40;Intent.ACTION_VIEW, address&amp;#41;; startActivity&amp;#40;surf&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/O1H21rUBXJA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/start-web-browser-with-url-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/start-web-browser-with-url-in-android/</feedburner:origLink></item>
		<item>
		<title>Write xml file using python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/S9ocCtDtxzU/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/write-xml-file-using-python/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 13:44:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12099</guid>
		<description>from xml.dom.minidom import Document doc = Document&amp;#40;&amp;#41; people = doc.createElement&amp;#40;&amp;#34;people&amp;#34;&amp;#41; doc.appendChild&amp;#40;people&amp;#41; aperson = doc.createElement&amp;#40;&amp;#34;person&amp;#34;&amp;#41; people.appendChild&amp;#40;aperson&amp;#41; name = doc.createElement&amp;#40;&amp;#34;name&amp;#34;&amp;#41; aperson.appendChild&amp;#40;name&amp;#41; personname = doc.createTextNode&amp;#40;&amp;#34;Annie&amp;#34;&amp;#41; name.appendChild&amp;#40;personname&amp;#41; filename = &amp;#34;people.xml&amp;#34; f = open&amp;#40;filename, &amp;#34;w&amp;#34;&amp;#41; f.write&amp;#40;doc.toprettyxml&amp;#40;indent=&amp;#34; &amp;#34;&amp;#41;&amp;#41; f.close&amp;#40;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/S9ocCtDtxzU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/write-xml-file-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/write-xml-file-using-python/</feedburner:origLink></item>
		<item>
		<title>Read and display data from sqlite table using python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/eD-gQJpNugY/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/read-and-display-data-from-sqlite-table-using-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:16:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12096</guid>
		<description>import cgi, os, sys import sqlite3 as db &amp;#160; conn = db.connect&amp;#40;'test.db'&amp;#41; cursor = conn.cursor&amp;#40;&amp;#41; conn.row_factory = db.Row cursor.execute&amp;#40;&amp;#34;select * from person&amp;#34;&amp;#41; rows = cursor.fetchall&amp;#40;&amp;#41; &amp;#160; sys.stdout.write&amp;#40;&amp;#34;Content-type: text.html\r\n\r\n&amp;#34;&amp;#41; sys.stdout.write&amp;#40;&amp;#34;&amp;#34;&amp;#41; sys.stdout.write&amp;#40;&amp;#34;&amp;#60;html&amp;#62;&amp;#60;body&amp;#62;&amp;#60;p&amp;#62;&amp;#34;&amp;#41; for row in rows: sys.stdout.write&amp;#40;&amp;#34;%s %s %s&amp;#34; % &amp;#40;row&amp;#91;0&amp;#93;,row&amp;#91;1&amp;#93;,row&amp;#91;2&amp;#93;&amp;#41;&amp;#41; sys.stdout.write&amp;#40;&amp;#34;&amp;#60;br /&amp;#62;&amp;#34;&amp;#41; sys.stdout.write&amp;#40;&amp;#34;&amp;#60;/p&amp;#62;&amp;#60;/body&amp;#62;&amp;#60;/html&amp;#62;&amp;#34;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/eD-gQJpNugY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/read-and-display-data-from-sqlite-table-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/read-and-display-data-from-sqlite-table-using-python/</feedburner:origLink></item>
		<item>
		<title>Create a simple httpserver in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/yNN1Zd7Diq4/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/create-a-simple-httpserver-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:13:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12094</guid>
		<description>import sys import BaseHTTPServer from SimpleHTTPServer import SimpleHTTPRequestHandler &amp;#160; Handler = SimpleHTTPRequestHandler Server = BaseHTTPServer.HTTPServer Protocol = &amp;#34;HTTP/1.0&amp;#34; &amp;#160; if sys.argv&amp;#91;1:&amp;#93;: port = int&amp;#40;sys.argv&amp;#91;1&amp;#93;&amp;#41; else: port = 8000 &amp;#160; server_address = &amp;#40;'127.0.0.1', port&amp;#41; &amp;#160; Handler.protocol_version = Protocol httpd = Server&amp;#40;server_address, Handler&amp;#41; &amp;#160; print&amp;#40;&amp;#34;Serving HTTP&amp;#34;&amp;#41; httpd.serve_forever&amp;#40;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/yNN1Zd7Diq4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/create-a-simple-httpserver-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/create-a-simple-httpserver-in-python/</feedburner:origLink></item>
		<item>
		<title>Website crawler in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/YxJw_HR-OuI/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/website-crawler-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:12:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12092</guid>
		<description>import urllib, htmllib, formatter, re, sys &amp;#160; url = sys.argv&amp;#91;1&amp;#93; website = urllib.urlopen&amp;#40;&amp;#34;http://&amp;#34;+url&amp;#41; data = website.read&amp;#40;&amp;#41; website.close&amp;#40;&amp;#41; format = formatter.AbstractFormatter&amp;#40;formatter.NullWriter&amp;#40;&amp;#41;&amp;#41; ptext = htmllib.HTMLParser&amp;#40;format&amp;#41; ptext.feed&amp;#40;data&amp;#41; links = &amp;#91;&amp;#93; links = ptext.anchorlist for link in links: if re.search&amp;#40;'http', link&amp;#41; != None: print&amp;#40;link&amp;#41; website = urllib.urlopen&amp;#40;link&amp;#41; data = website.read&amp;#40;&amp;#41; website.close&amp;#40;&amp;#41; ptext = htmllib.HTMLParser&amp;#40;format&amp;#41; ptext.feed&amp;#40;data&amp;#41; morelinks = ptext.anchorlist for [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/YxJw_HR-OuI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/website-crawler-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/website-crawler-in-python/</feedburner:origLink></item>
		<item>
		<title>Get stock quote from yahoo finance in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/6YPABDQcm-M/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/get-stock-quote-from-yahoo-finance-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:09:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12090</guid>
		<description>import urllib, re, sys &amp;#160; symbol = sys.argv&amp;#91;1&amp;#93; url = 'http://finance.google.com/finance?q=' content = urllib.urlopen&amp;#40;url+symbol&amp;#41;.read&amp;#40;&amp;#41; m = re.search&amp;#40;'span id=&amp;#34;ref.*&amp;#62;(.*)&amp;#60;', content&amp;#41; if m: quote = m.group&amp;#40;1&amp;#41; else: quote = 'no quote for symbol: ' + symbol print&amp;#40;quote&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/6YPABDQcm-M" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/get-stock-quote-from-yahoo-finance-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/get-stock-quote-from-yahoo-finance-in-python/</feedburner:origLink></item>
		<item>
		<title>Parse hyperlinks in webpage using python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Vh_Wx4KoDnw/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/parse-hyperlinks-in-webpage-using-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:07:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12088</guid>
		<description>import urllib, htmllib, formatter &amp;#160; website = urllib.urlopen&amp;#40;&amp;#34;http://w3mentor.com&amp;#34;&amp;#41; data = website.read&amp;#40;&amp;#41; website.close&amp;#40;&amp;#41; format = formatter.AbstractFormatter&amp;#40;formatter.NullWriter&amp;#40;&amp;#41;&amp;#41; ptext = htmllib.HTMLParser&amp;#40;format&amp;#41; ptext.feed&amp;#40;data&amp;#41; for link in ptext.anchorlist: print&amp;#40;link&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Vh_Wx4KoDnw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/parse-hyperlinks-in-webpage-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/parse-hyperlinks-in-webpage-using-python/</feedburner:origLink></item>
		<item>
		<title>Parse html using htmllib in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/QcVqobzkrig/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/parse-html-using-htmllib-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:05:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12086</guid>
		<description>import htmllib, urllib, formatter, sys &amp;#160; website = urllib.urlopen&amp;#40;&amp;#34;http://w3mentor.com&amp;#34;&amp;#41; data = website.read&amp;#40;&amp;#41; website.close&amp;#40;&amp;#41; format = formatter.AbstractFormatter&amp;#40;formatter.DumbWriter&amp;#40;sys.stdout&amp;#41;&amp;#41; ptext = htmllib.HTMLParser&amp;#40;format&amp;#41; ptext.feed&amp;#40;data&amp;#41; ptext.close&amp;#40;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/QcVqobzkrig" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/parse-html-using-htmllib-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/parse-html-using-htmllib-in-python/</feedburner:origLink></item>
		<item>
		<title>Use nntplib to read news in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/L_SuGq9wYI8/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/use-nntplib-to-read-news-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:03:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12084</guid>
		<description>from nntplib import * s = NNTP&amp;#40;'web.aioe.org'&amp;#41; &amp;#40;resp, count, first, last, name&amp;#41; = s.group&amp;#40;'comp.lang.python'&amp;#41; &amp;#40;resp, subs&amp;#41; = s.xhdr&amp;#40;'subject', &amp;#40;str&amp;#40;first&amp;#41;+'-'+str&amp;#40;last&amp;#41;&amp;#41;&amp;#41; for subject in subs&amp;#91;-10:&amp;#93;: print&amp;#40;subject&amp;#41; number = input&amp;#40;'Which article do you want to read? '&amp;#41; &amp;#40;reply, num, id, list&amp;#41; = s.body&amp;#40;str&amp;#40;number&amp;#41;&amp;#41; for line in list: print&amp;#40;line&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/L_SuGq9wYI8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/use-nntplib-to-read-news-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/use-nntplib-to-read-news-in-python/</feedburner:origLink></item>
		<item>
		<title>Read gmail email using python imap</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/1PYgffFS_4A/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/read-gmail-email-using-python-imap/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:02:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12082</guid>
		<description>import imaplib &amp;#160; mailserver = imaplib.IMAP4_SSL&amp;#40;'imap.gmail.com', 993&amp;#41; username = 'gmailusername' password = 'gmailpassword' mailserver.login&amp;#40;username, password&amp;#41; &amp;#160; status, count = mailserver.select&amp;#40;'Inbox'&amp;#41; status, data = mailserver.fetch&amp;#40;count&amp;#91;0&amp;#93;, '(UID BODY[TEXT])'&amp;#41; &amp;#160; print data&amp;#91;0&amp;#93;&amp;#91;1&amp;#93; &amp;#160; mailserver.close&amp;#40;&amp;#41; mailserver.logout&amp;#40;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/1PYgffFS_4A" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/read-gmail-email-using-python-imap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/read-gmail-email-using-python-imap/</feedburner:origLink></item>
		<item>
		<title>Send email using gmail smtp and python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/QfZ0tIA22x0/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/send-email-using-gmail-smtp-and-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:59:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12080</guid>
		<description>import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText &amp;#160; fromaddr = 'fromaddr@gmail.com' toaddr = 'toaddr@gmail.com' text = 'test email message sent from Python code' username = 'fromaddruser' password = 'fromaddrpassword' msg = MIMEMultipart&amp;#40;&amp;#41; msg&amp;#91;'From'&amp;#93; = fromaddr msg&amp;#91;'To'&amp;#93; = toaddr msg&amp;#91;'Subject'&amp;#93; = 'Test' msg.attach&amp;#40;MIMEText&amp;#40;text&amp;#41;&amp;#41; server = smtplib.SMTP&amp;#40;'smtp.gmail.com:587'&amp;#41; server.ehlo&amp;#40;&amp;#41; server.starttls&amp;#40;&amp;#41; server.ehlo&amp;#40;&amp;#41; server.login&amp;#40;username, password&amp;#41; server.sendmail&amp;#40;fromaddr, toaddr, [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/QfZ0tIA22x0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/send-email-using-gmail-smtp-and-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/send-email-using-gmail-smtp-and-python/</feedburner:origLink></item>
		<item>
		<title>FTP connect and login using Python ftplib</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/aXHSC_G-Hhw/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/ftp-connect-and-login-using-python-ftplib/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:58:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12078</guid>
		<description>import ftplib &amp;#160; connect = ftplib.FTP&amp;#40;&amp;#34;www.mysite.com&amp;#34;&amp;#41; connect.login&amp;#40;&amp;#34;domain\user&amp;#34;, &amp;#34;password&amp;#34;&amp;#41; data = &amp;#91;&amp;#93; connect.dir&amp;#40;data.append&amp;#41; connect.quit&amp;#40;&amp;#41; for line in data: print&amp;#40;line&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/aXHSC_G-Hhw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/ftp-connect-and-login-using-python-ftplib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/ftp-connect-and-login-using-python-ftplib/</feedburner:origLink></item>
		<item>
		<title>CRUD operations in sqlite using python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Hum1MS2iFa8/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/crud-operations-in-sqlite-using-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:53:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12076</guid>
		<description>import sqlite3 as db &amp;#160; conn = db.connect&amp;#40;'mytest.db'&amp;#41; cursor = conn.cursor&amp;#40;&amp;#41; cursor.execute&amp;#40;&amp;#34;drop table if exists datecounts&amp;#34;&amp;#41; cursor.execute&amp;#40;&amp;#34;create table datecounts(date text, count int)&amp;#34;&amp;#41; cursor.execute&amp;#40;'insert into datecounts values(&amp;#34;12/1/2011&amp;#34;,35)'&amp;#41; cursor.execute&amp;#40;'insert into datecounts values(&amp;#34;12/2/2011&amp;#34;,42)'&amp;#41; cursor.execute&amp;#40;'insert into datecounts values(&amp;#34;12/3/2011&amp;#34;,38)'&amp;#41; cursor.execute&amp;#40;'insert into datecounts values(&amp;#34;12/4/2011&amp;#34;,41)'&amp;#41; cursor.execute&amp;#40;'insert into datecounts values(&amp;#34;12/5/2011&amp;#34;,40)'&amp;#41; cursor.execute&amp;#40;'insert into datecounts values(&amp;#34;12/6/2011&amp;#34;,28)'&amp;#41; cursor.execute&amp;#40;'insert into datecounts values(&amp;#34;12/7/2011&amp;#34;,45)'&amp;#41; conn.row_factory = db.Row cursor.execute&amp;#40;&amp;#34;select * [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Hum1MS2iFa8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/crud-operations-in-sqlite-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/crud-operations-in-sqlite-using-python/</feedburner:origLink></item>
		<item>
		<title>Query sqlite table using python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/0-whsmYAbo0/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/query-sqlite-table-using-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:34:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12074</guid>
		<description>import sqlite3 as db &amp;#160; conn = db.connect&amp;#40;'mytest.db'&amp;#41; conn.row_factory = db.Row cursor = conn.cursor&amp;#40;&amp;#41; &amp;#160; cursor.execute&amp;#40;&amp;#34;select * from person&amp;#34;&amp;#41; rows = cursor.fetchall&amp;#40;&amp;#41; for row in rows: print&amp;#40;&amp;#34;%s %s %s&amp;#34; % &amp;#40;row&amp;#91;&amp;#34;name&amp;#34;&amp;#93;, row&amp;#91;&amp;#34;age&amp;#34;&amp;#93;, row&amp;#91;&amp;#34;address&amp;#34;&amp;#93;&amp;#41;&amp;#41; conn.close&amp;#40;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/0-whsmYAbo0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/query-sqlite-table-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/query-sqlite-table-using-python/</feedburner:origLink></item>
		<item>
		<title>Insert values in sqlite table using python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/zVOHk108dDE/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/insert-values-in-sqlite-table-using-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:33:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12072</guid>
		<description>import sqlite3 as db &amp;#160; conn = db.connect&amp;#40;'mytest.db'&amp;#41; cursor = conn.cursor&amp;#40;&amp;#41; cursor.execute&amp;#40;'insert into person values(&amp;#34;Mani&amp;#34;,&amp;#34;23&amp;#34;,&amp;#34;22,2nd cross, ka&amp;#34;)'&amp;#41; cursor.execute&amp;#40;'insert into person values(&amp;#34;Raja&amp;#34;,&amp;#34;22&amp;#34;,&amp;#34;5th cross, ka&amp;#34;)'&amp;#41; conn.close&amp;#40;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/zVOHk108dDE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/insert-values-in-sqlite-table-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/insert-values-in-sqlite-table-using-python/</feedburner:origLink></item>
		<item>
		<title>create table in sqlite using python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/SRaIqevJPVw/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/create-table-in-sqlite-using-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:31:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12070</guid>
		<description>import sqlite3 as db &amp;#160; conn = db.connect&amp;#40;'mytest.db'&amp;#41; cursor = conn.cursor&amp;#40;&amp;#41; cursor.execute&amp;#40;&amp;#34;create table person(name text, age text, address text)&amp;#34;&amp;#41; print&amp;#40;&amp;#34;table created&amp;#34;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/SRaIqevJPVw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/create-table-in-sqlite-using-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/create-table-in-sqlite-using-python/</feedburner:origLink></item>
		<item>
		<title>using shapes module in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/vphAnF2fkl8/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/using-shapes-module-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:09:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12067</guid>
		<description>from shapes import Shape from shapes import Rectangle &amp;#160; s1 = Shape&amp;#40;2,4&amp;#41; print&amp;#40;s1&amp;#41; r1 = Rectangle&amp;#40;4,8,3,5&amp;#41; print&amp;#40;r1&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/vphAnF2fkl8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/using-shapes-module-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/using-shapes-module-in-python/</feedburner:origLink></item>
		<item>
		<title>convert temperature using tempconv in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/ZbQE4ukJUFE/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/convert-temperature-using-tempconv-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:08:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12065</guid>
		<description>from tempconv import ctof from tempconv import ftoc &amp;#160; temp = 95 convTemp = ftoc&amp;#40;temp&amp;#41; print&amp;#40;&amp;#34;the converted temp is &amp;#34; + str&amp;#40;convTemp&amp;#41;&amp;#41; temp = 0 convTemp = ctof&amp;#40;temp&amp;#41; print&amp;#40;&amp;#34;the converted temp is &amp;#34; + str&amp;#40;convTemp&amp;#41;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/ZbQE4ukJUFE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/convert-temperature-using-tempconv-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/convert-temperature-using-tempconv-in-python/</feedburner:origLink></item>
		<item>
		<title>Define class with methods and invoke them in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/qduIgCHa5yo/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/define-class-with-methods-and-invoke-them-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:06:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12063</guid>
		<description>class Person: def __init__&amp;#40;self, first, middle, last, age&amp;#41;: self.first = first; self.middle = middle; self.last = last; self.age = age; &amp;#160; def __str__&amp;#40;self&amp;#41;: return self.first + ' ' + self.middle + ' ' + self.last + \ ' ' + str&amp;#40;self.age&amp;#41; &amp;#160; def initials&amp;#40;self&amp;#41;: return self.first&amp;#91;0&amp;#93; + self.middle&amp;#91;0&amp;#93; + self.last&amp;#91;0&amp;#93; &amp;#160; def changeAge&amp;#40;self, val&amp;#41;: self.age [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/qduIgCHa5yo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/define-class-with-methods-and-invoke-them-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/define-class-with-methods-and-invoke-them-in-python/</feedburner:origLink></item>
		<item>
		<title>simple function example in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/VKopPeRX_Rw/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/simple-function-example-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:04:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12061</guid>
		<description>def convertTemp&amp;#40;temp, scale&amp;#41;: if scale == &amp;#34;c&amp;#34;: return &amp;#40;temp - 32.0&amp;#41; * &amp;#40;5.0/9.0&amp;#41; elif scale == &amp;#34;f&amp;#34;: return temp * 9.0/5.0 + 32 &amp;#160; temp = int&amp;#40;input&amp;#40;&amp;#34;Enter a temperature: &amp;#34;&amp;#41;&amp;#41; scale = input&amp;#40;&amp;#34;Enter the scale to convert to: &amp;#34;&amp;#41; converted = convertTemp&amp;#40;temp, scale&amp;#41; print&amp;#40;&amp;#34;The converted temp is: &amp;#34; + str&amp;#40;converted&amp;#41;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/VKopPeRX_Rw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/simple-function-example-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/simple-function-example-in-python/</feedburner:origLink></item>
		<item>
		<title>For loop over string array in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/5oFJdg7f7WI/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/for-loop-over-string-array-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:02:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12059</guid>
		<description>for name in &amp;#91;&amp;#34;kak&amp;#34;, &amp;#34;John&amp;#34;, &amp;#34;Mani&amp;#34;, &amp;#34;Matt&amp;#34;&amp;#93;: print&amp;#40;name&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/5oFJdg7f7WI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/for-loop-over-string-array-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/for-loop-over-string-array-in-python/</feedburner:origLink></item>
		<item>
		<title>While loop in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Knv4kPkouGE/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/while-loop-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:01:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12057</guid>
		<description>number = 1 while number &amp;#60; 20: print&amp;#40;number&amp;#41; number += 1&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Knv4kPkouGE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/while-loop-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/while-loop-in-python/</feedburner:origLink></item>
		<item>
		<title>Calculate sum using range in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/iijFEPzYE1Y/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/calculate-sum-using-range-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:00:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12055</guid>
		<description>sum = 0 numbers = range&amp;#40;1,10&amp;#41; for i in numbers: sum += i print&amp;#40;sum&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/iijFEPzYE1Y" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/calculate-sum-using-range-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/calculate-sum-using-range-in-python/</feedburner:origLink></item>
		<item>
		<title>if elif in python</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/s_U0ojBuQzU/</link>
		<comments>http://w3mentor.com/learn/python/language-basics/if-elif-in-python/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 13:59:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12053</guid>
		<description>marks = 99 if marks &amp;#62;= 90: grade = 'A' elif marks &amp;#62;= 80: grade = 'B' elif marks &amp;#62;= 70: grade = 'C' elif marks &amp;#62;= 60: grade = 'D' else: grade = 'F' print&amp;#40;grade&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/s_U0ojBuQzU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/python/language-basics/if-elif-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/python/language-basics/if-elif-in-python/</feedburner:origLink></item>
		<item>
		<title>Selecting a MongoDB database in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/eYBNMmjMtKU/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/selecting-a-mongodb-database-in-php/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 16:54:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MongoDB]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12051</guid>
		<description>After connecting to the database server, you can obtain a handle to the database using the following syntax. $db = $connection-&amp;#62;selectDB&amp;#40;'databasename'&amp;#41;; A shorthand way to selecting a database is as follows: $db = $connection-&amp;#62;databasename; If there is no database with the specified name, MongoDB will automatically create it.&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/eYBNMmjMtKU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/selecting-a-mongodb-database-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/selecting-a-mongodb-database-in-php/</feedburner:origLink></item>
		<item>
		<title>Connecting to a MongoDB Database Server in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/XY-cHd03-m4/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/connecting-to-a-mongodb-database-server-in-php/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 16:51:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MongoDB]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12049</guid>
		<description>After installing the MongoDB database, use the following code to connect to the MongoDB database. $connection = new Mongo&amp;#40;&amp;#41;; The above code connects to the database using default credentials.i.e host is localhost and port is 27017. To explicitly connect to a remote host where MongoDB is housed, use the following syntax. $connection = new Mongo&amp;#40; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/XY-cHd03-m4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/connecting-to-a-mongodb-database-server-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/mongodb/connecting-to-a-mongodb-database-server-in-php/</feedburner:origLink></item>
		<item>
		<title>Aggregate sum of all elements in array using LINQ</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/frPmHZtoQEA/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/aggregate-sum-of-all-elements-in-array-using-linq/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 16:43:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# ASP.NET LINQ]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12046</guid>
		<description>int&amp;#91;&amp;#93; numbers = new int&amp;#91;&amp;#93; &amp;#123;1,2,3,4,5,6,7,8&amp;#125;; &amp;#160; int result = numbers.Sum&amp;#40;&amp;#41;; Console.WriteLine&amp;#40;result&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/frPmHZtoQEA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/aggregate-sum-of-all-elements-in-array-using-linq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/aggregate-sum-of-all-elements-in-array-using-linq/</feedburner:origLink></item>
		<item>
		<title>Set FM Radio frequency in windows phone 7</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/H3fiA2QbiR0/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/fm-radio/set-fm-radio-frequency-in-windows-phone-7/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 15:25:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FM Radio]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12043</guid>
		<description>try &amp;#123; FMRadio myRadio = FMRadio.Instance; myRadio.PowerMode = RadioPowerMode.On; myRadio.CurrentRegion = RadioRegion.Europe; myRadio.Frequency = 91.5; &amp;#160; if &amp;#40;FMRadio.Instance.SignalStrength == 0.0&amp;#41; &amp;#123; MessageBox.Show&amp;#40;&amp;#34;FM radio cannot run on emulator&amp;#34;&amp;#41;; &amp;#125; &amp;#125; catch &amp;#40;Exception ex&amp;#41; &amp;#123; MessageBox.Show&amp;#40;&amp;#34;FM Radio has thrown exception&amp;#34; + ex.Message&amp;#41;; &amp;#125; &amp;#160; The RadioRegion enumeration only support 3 frequency bands for FM Radio tuning. 1. [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/H3fiA2QbiR0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/fm-radio/set-fm-radio-frequency-in-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/fm-radio/set-fm-radio-frequency-in-windows-phone-7/</feedburner:origLink></item>
		<item>
		<title>AccelerometerFailedException in windows phone 7</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/-NDNfoqxNq0/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/accelerometer/accelerometerfailedexception-in-windows-phone-7/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 15:17:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Accelerometer]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12041</guid>
		<description>Accelerometer aSensor = new Accelerometer&amp;#40;&amp;#41;; &amp;#160; // Add the accelerometer event handler to the accelerometer sensor aSensor.ReadingChanged += new EventHandler&amp;#60;AccelerometerReadingEventArgs&amp;#62;&amp;#40;AccelerometerReadingChanged&amp;#41;; &amp;#160; bool isActive = false; // Start the accelerometer try &amp;#123; aSensor.Start&amp;#40;&amp;#41;; isActive = true; &amp;#125; catch &amp;#40;AccelerometerFailedException e&amp;#41; &amp;#123; // the accelerometer couldn’t be started. isActive = false; &amp;#125; catch &amp;#40;UnauthorizedAccessException e&amp;#41; &amp;#123; // [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/-NDNfoqxNq0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/accelerometer/accelerometerfailedexception-in-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/accelerometer/accelerometerfailedexception-in-windows-phone-7/</feedburner:origLink></item>
		<item>
		<title>State of accelerometer sensor in windows phone 7</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/YM0lucZGyNE/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/accelerometer/state-of-accelerometer-sensor-in-windows-phone-7/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 15:12:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Accelerometer]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12039</guid>
		<description>There are six possible values for the SensorState enumeration: Disabled Initiating NoData NoPermissions NotSupported Ready The Accelerometer.Start() method should be called only if the accelerometer is in a ready state. To get the current state, use the Accelerometer.State property.&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/YM0lucZGyNE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/accelerometer/state-of-accelerometer-sensor-in-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/windows-phone-7/input-windows-phone-7/accelerometer/state-of-accelerometer-sensor-in-windows-phone-7/</feedburner:origLink></item>
		<item>
		<title>Reading accelerometer data in windows phone 7</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/ZsZxoHT_Ngo/</link>
		<comments>http://w3mentor.com/learn/other/reading-accelerometer-data-in-windows-phone-7/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 15:07:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12036</guid>
		<description>Add a reference to the Microsoft.Devices.Sensors assembly, and declare an instance of the Accelerometer class. Call the Start() method to generate accelerometer readings. using Microsoft.Devices.Sensors; &amp;#160; Accelerometer accelerometer = new Accelerometer&amp;#40;&amp;#41;; accelerometer.Start&amp;#40;&amp;#41;; accelerometer.ReadingChanged += new EventHandler&amp;#60;AccelerometerReadingEventArgs&amp;#62;&amp;#40;accelerometer_ReadingChanged&amp;#41;; The event handler void accelerometer_ReadingChanged&amp;#40;object sender, AccelerometerReadingEventArgs e&amp;#41; &amp;#123; float X = &amp;#40;float&amp;#41;e.X; float Y = &amp;#40;float&amp;#41;e.Y; float Z [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/ZsZxoHT_Ngo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/other/reading-accelerometer-data-in-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/other/reading-accelerometer-data-in-windows-phone-7/</feedburner:origLink></item>
		<item>
		<title>Partial class and partial method in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/WSGOt9oVhAs/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/object-oriented-concepts-c-sharp/partial-class-and-partial-method-in-c/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 13:34:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Object Oriented Concepts C#]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12033</guid>
		<description>Partial class with partial method declaration: partial class MyPartialClass &amp;#123; ... partial void ValidateInput&amp;#40;decimal amount&amp;#41;; &amp;#125; Partial class with partial method body: partial class MyPartialClass &amp;#123; ... partial void ValidateInput&amp;#40;decimal amount&amp;#41; &amp;#123; if &amp;#40;amount&amp;#62; 100&amp;#41; throw new ArgumentException &amp;#40;&amp;#34;Too Big&amp;#34;&amp;#41;; &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/WSGOt9oVhAs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/object-oriented-concepts-c-sharp/partial-class-and-partial-method-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/object-oriented-concepts-c-sharp/partial-class-and-partial-method-in-c/</feedburner:origLink></item>
		<item>
		<title>Finalizers in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/9SaPE4XQnXY/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/finalizers-in-c/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 13:31:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12031</guid>
		<description>Finalizers are class methods that are executed before the garbage collector frees the memory of a referenced object no longer in use. The syntax for a finalizer is the name of the class to which the tilde sign ~ preceeds: class TestClass1 &amp;#123; ~ TestClass1 &amp;#40;&amp;#41; &amp;#123;... &amp;#125; &amp;#125; The above code is converted by [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/9SaPE4XQnXY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/finalizers-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/finalizers-in-c/</feedburner:origLink></item>
		<item>
		<title>Audio recorder in Android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/J-6GQUeLcYo/</link>
		<comments>http://w3mentor.com/learn/java/android-development/audio-recorder-in-android/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 13:19:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12029</guid>
		<description>// initialize the MediaRecorder MediaRecorder mediarecorder = new MediaRecorder&amp;#40;&amp;#41;; mediarecorder.setAudioSource&amp;#40;MediaRecorder.AudioSource.MIC&amp;#41;; mediarecorder.setOutputFormat&amp;#40;MediaRecorder.OutputFormat.THREE_GPP&amp;#41;; mediarecorder.setAudioEncoder&amp;#40;MediaRecorder.AudioEncoder.AMR_NB&amp;#41;; mediarecorder.setOutputFile&amp;#40;&amp;#34;/sdcard/myaudiorecord.3gpp&amp;#34;&amp;#41;; mediarecorder.prepare&amp;#40;&amp;#41;; mediarecorder.start&amp;#40;&amp;#41;; //To stop recording use below code.. //mediarecorder.stop(); //mediarecorder.reset(); //After MediaRecorder is no longer needed, release it: //mediarecorder.release();&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/J-6GQUeLcYo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/audio-recorder-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/audio-recorder-in-android/</feedburner:origLink></item>
		<item>
		<title>Playing music/audio file in Android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/0kAWLhgQlSA/</link>
		<comments>http://w3mentor.com/learn/java/android-development/playing-musicaudio-file-in-android/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 13:16:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12027</guid>
		<description>string mediaFilePath = &amp;#34;PATH TO YOUR MUSIC/AUDIO FILE&amp;#34;; File mediafile = new File&amp;#40;mediaFilePath&amp;#41;; short&amp;#91;&amp;#93; audio = new short&amp;#91;&amp;#40;int&amp;#41; &amp;#40;mediafile.length&amp;#40;&amp;#41;/2&amp;#41;&amp;#93;; AudioTrack audiotrack = new AudioTrack&amp;#40; AudioManager.STREAM_MUSIC, 11025, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, audio.length, AudioTrack.MODE_STREAM &amp;#41;; &amp;#160; audiotrack.play&amp;#40;&amp;#41;; audiotrack.write&amp;#40;audio, 0, audio.length&amp;#41;; // To pause use code below //audiotrack.pause(); // To stop use code below //audiotrack.stop(); // release all resources audiotrack.release&amp;#40;&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/0kAWLhgQlSA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/playing-musicaudio-file-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/playing-musicaudio-file-in-android/</feedburner:origLink></item>
		<item>
		<title>Options for text-decoration in CSS</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/jcWdu91ts30/</link>
		<comments>http://w3mentor.com/learn/css/css-basics/options-for-text-decoration-in-css/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 23:15:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12022</guid>
		<description>The different options for text-decoration property in CSS are none underline overline line-through blink We can use a combination of these options in our CSS as shown below: a:link, a:visited &amp;#123; text-decoration: underline overline; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/jcWdu91ts30" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/css/css-basics/options-for-text-decoration-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/css/css-basics/options-for-text-decoration-in-css/</feedburner:origLink></item>
		<item>
		<title>Remove underline from hyperlinks in page using CSS</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/xNLkuGdFOUU/</link>
		<comments>http://w3mentor.com/learn/css/css-basics/remove-underline-from-hyperlinks-in-page-using-css/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 23:12:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12020</guid>
		<description>We can use the text-decoration property for the link to specify if we need an underline or not. If we set the text-decoration property to none, we can remove underlines from hyperlinks in our html page. a:link, a:visited &amp;#123; text-decoration: none; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/xNLkuGdFOUU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/css/css-basics/remove-underline-from-hyperlinks-in-page-using-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/css/css-basics/remove-underline-from-hyperlinks-in-page-using-css/</feedburner:origLink></item>
		<item>
		<title>Use CSS to highlight text on a page</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/0VN5vRE2Itg/</link>
		<comments>http://w3mentor.com/learn/css/css-basics/use-css-to-highlight-text-on-a-page/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 23:08:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12015</guid>
		<description>We can use a span with a specific css class to apply the highlight color. Below, we use the &amp;#8220;highlight&amp;#8221; class to apply highlighting. HTML: Lorem Ipsum is simply &amp;#60;span class=&amp;#34;highlight&amp;#34;&amp;#62;dummy text of the printing&amp;#60;/span&amp;#62; and typesetting industry. CSS Class: .highlight&amp;#123; background-color: Yellow; color: #B22222; &amp;#125; .highlight{ background-color: Yellow; color: #B22222; } Output: Lorem Ipsum [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/0VN5vRE2Itg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/css/css-basics/use-css-to-highlight-text-on-a-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/css/css-basics/use-css-to-highlight-text-on-a-page/</feedburner:origLink></item>
		<item>
		<title>Connect to MySql and select database using PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/yYzZTP-glbc/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-mysql/php-mysql-examples/connect-to-mysql-and-select-database-using-php/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 23:31:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php Mysql Examples]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12013</guid>
		<description>The following code is an example of how to connect to a mysql server and select a database to query. We should always free up resources you don&amp;#8217;t need anymore i.e make sure that mysql_close() executes at the end. This makes your code more efficient and reduces the possibility of errors. &amp;#60;?php $DB_HOST = &amp;#34;localhost&amp;#34;; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/yYzZTP-glbc" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-mysql/php-mysql-examples/connect-to-mysql-and-select-database-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-mysql/php-mysql-examples/connect-to-mysql-and-select-database-using-php/</feedburner:origLink></item>
		<item>
		<title>Advantages of Generics in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/tsAyfPOhVjg/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/advantages-of-generics-in-c/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 23:26:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12011</guid>
		<description>Generics are very useful in C# for storing data and they have the following advantages: 1. Generics allow code reuse for different data types. 2. Generics provide type safety. 3. Generics reduce the number of casting and boxing needed to store value types.&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/tsAyfPOhVjg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/advantages-of-generics-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/advantages-of-generics-in-c/</feedburner:origLink></item>
		<item>
		<title>Implementing Stack&lt;T&gt; in C# class</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/tUF1HrLY38A/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/implementing-stackt-in-c-class/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 23:15:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12007</guid>
		<description>The example below shows how we can implement a generic stack class in c# that can hold upto 100 objects. public class Stack &amp;#60;T&amp;#62; &amp;#123; int itemposition; T&amp;#91;&amp;#93; data = new T&amp;#91;100&amp;#93;; public void push&amp;#40;T obj&amp;#41; &amp;#123; data &amp;#91;itemposition++&amp;#93; = obj; &amp;#125; public T Pop&amp;#40;&amp;#41; &amp;#123; return data &amp;#91;--itemposition&amp;#93;; &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/tUF1HrLY38A" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/implementing-stackt-in-c-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/implementing-stackt-in-c-class/</feedburner:origLink></item>
		<item>
		<title>stack&lt;T&gt; collection in c#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/njwjEfO83gw/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/stack-collection-in-c/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 23:10:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections Examples]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12003</guid>
		<description>An example of stack&amp;#60;T&amp;#62; use in c#: Stack&amp;#60;int&amp;#62; stack = new Stack &amp;#60;int&amp;#62;&amp;#40;&amp;#41;; stack.Push&amp;#40;1&amp;#41;; stack.Push&amp;#40;2&amp;#41;; int x = stack.Pop&amp;#40;&amp;#41; / / x is 2 int y = stack.Pop&amp;#40;&amp;#41; / / y is 1&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/njwjEfO83gw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/stack-collection-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/stack-collection-in-c/</feedburner:origLink></item>
		<item>
		<title>Google Maps API to calculate location distance in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/qoim_lZSI1Y/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-web-services/google-maps-api-to-calculate-location-distance-in-php/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 20:33:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Web Services]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=12001</guid>
		<description>This example shows how to use the Google maps API to calculate distance between two places in PHP $result = file_get_contents&amp;#40;'http://maps.googleapis.com/maps/api/directions/json?origin=Chicago,IL&amp;#38;destination=Raleigh,NC&amp;#38;sensor=false'&amp;#41;; $result = json_decode&amp;#40;$results&amp;#41;; $distance = $result-&amp;#62;routes-&amp;#62;legs-&amp;#62;distance&amp;#91;'text'&amp;#93;; echo $distance // Outputs: &amp;#34;xxx mi&amp;#34;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/qoim_lZSI1Y" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-web-services/google-maps-api-to-calculate-location-distance-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-web-services/google-maps-api-to-calculate-location-distance-in-php/</feedburner:origLink></item>
		<item>
		<title>Read JSON from file in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/ZqPOSOxCyEc/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-file-handling/read-json-from-file-in-php/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 20:22:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP File Handling]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11999</guid>
		<description>$file = new File&amp;#40;'/path/to/file'&amp;#41;; $myjson = $file-&amp;#62;read&amp;#40;true, 'r'&amp;#41;; $myjsonarray = json_decode&amp;#40;$json&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/ZqPOSOxCyEc" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-file-handling/read-json-from-file-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-file-handling/read-json-from-file-in-php/</feedburner:origLink></item>
		<item>
		<title>Write JSON to file in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/5JoWlYDw6h8/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-file-handling/write-json-to-file-in-php/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 20:21:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP File Handling]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11997</guid>
		<description>$json = '{&amp;#34;key&amp;#34;:&amp;#34;value&amp;#34;}'; $file = new File&amp;#40;'/path/to/file', true&amp;#41;; $file-&amp;#62;write&amp;#40;$json&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/5JoWlYDw6h8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-file-handling/write-json-to-file-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-file-handling/write-json-to-file-in-php/</feedburner:origLink></item>
		<item>
		<title>Embedded types in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Y8HZChB_g94/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/embedded-types-in-c/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 20:17:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11995</guid>
		<description>An embedded type in C# is declared within the scope of another type. public class FirstLevel &amp;#123; public class NestedClass &amp;#123;&amp;#125; // embedded Class public enum Color &amp;#123;Red, Blue, Tan&amp;#125; // Embedded Enum &amp;#125; An embedded type has the following features: 1. The embedded type can access the private members of enclosing type and all [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Y8HZChB_g94" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/embedded-types-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/embedded-types-in-c/</feedburner:origLink></item>
		<item>
		<title>Nullable types in c#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/DbuolBDgXls/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/nullable-types-in-c/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 17:04:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11992</guid>
		<description>Reference types in c# can have non-existing value with a zero reference. However, For value types this is usually not possible: string s = null; // OK, reference-type int i = 0; // compile-time, value-type can not be null To represent zero in a value type, you need a special construct called Nullable Type . [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/DbuolBDgXls" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/nullable-types-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/nullable-types-in-c/</feedburner:origLink></item>
		<item>
		<title>yield break in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/pTDaYUXk1BM/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/yield-break-in-c/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 16:00:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11990</guid>
		<description>The yield break instruction specifies that the iterator block is to be abandoned prematurely, without having to add more elements. Below is an example of yield break in c#. A return statement in an iterator block is not allowed therefore you must instead use yield break. static IEnumerable &amp;#60;string&amp;#62; Foo &amp;#40;bool breakit&amp;#41; &amp;#123; yield return [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/pTDaYUXk1BM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/yield-break-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/yield-break-in-c/</feedburner:origLink></item>
		<item>
		<title>Using multiple yield statements in an iterator</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/vYB9ir9_wLE/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-multiple-yield-statements-in-an-iterator/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 15:42:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11988</guid>
		<description>static void Main &amp;#40;&amp;#41; &amp;#123; foreach &amp;#40;string s in getty&amp;#40;&amp;#41;&amp;#41; Console.Write &amp;#40;s + &amp;#34; &amp;#34;&amp;#41; // There you go &amp;#125; &amp;#160; static IEnumerable&amp;#60;string&amp;#62; getty&amp;#40;&amp;#41; &amp;#123; yield return &amp;#34;There&amp;#34;; yield return &amp;#34;you&amp;#34;; yield return &amp;#34;go&amp;#34;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/vYB9ir9_wLE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-multiple-yield-statements-in-an-iterator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/using-multiple-yield-statements-in-an-iterator/</feedburner:origLink></item>
		<item>
		<title>Use an iterator to return a sequence of Fibonacci numbers in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Q5UbPjRRNcg/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/use-an-iterator-to-return-a-sequence-of-fibonacci-numbers-in-c/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 15:27:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections Examples]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11985</guid>
		<description>using System; using System; &amp;#160; class FibTest &amp;#123; static void Main &amp;#40;&amp;#41; &amp;#123; foreach &amp;#40;int fib in Fibs &amp;#40;6&amp;#41;&amp;#41; Console.Write &amp;#40;fib + &amp;#34;&amp;#34;&amp;#41;; &amp;#125; &amp;#160; static IEnumerable &amp;#60;int&amp;#62; Fibs &amp;#40;int fibCount&amp;#41; &amp;#123; for &amp;#40;int i = 0, prevFib = 1, curFib = 1; i &amp;#60;fibCount; i++&amp;#41; &amp;#123; yield return prevFib; int = newFib prevFib curFib [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Q5UbPjRRNcg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/use-an-iterator-to-return-a-sequence-of-fibonacci-numbers-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/use-an-iterator-to-return-a-sequence-of-fibonacci-numbers-in-c/</feedburner:origLink></item>
		<item>
		<title>Using GetEnumerator to access characters in C# string</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/aM-RMx1tYDo/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/using-getenumerator-to-access-characters-in-c-string/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 15:24:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections Examples]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11983</guid>
		<description>Below is an example of using GetEnumerator method of a collection to access characters in a string and display them. var enumerator = &amp;#34;This is my string&amp;#34;.GetEnumerator&amp;#40;&amp;#41;; &amp;#160; while &amp;#40;enumerator.MoveNext&amp;#40;&amp;#41;&amp;#41; &amp;#123; var element = enumerator.Current ; Console.WriteLine &amp;#40;element&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/aM-RMx1tYDo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/using-getenumerator-to-access-characters-in-c-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/examples/using-getenumerator-to-access-characters-in-c-string/</feedburner:origLink></item>
		<item>
		<title>What is c# enumerator and enumerable?</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/qppgXLvJn48/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/what-is-a-c-enumerator/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 15:20:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11977</guid>
		<description>An enumerator is a cursor that is read only and moves forward only through a sequence of values. An enumerator is an object that: 1. Implements IEnumerator 2. Has a method called MoveNext for iterating over the sequence, and a property called Current provides for the reading of the current element of the sequence. The [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/qppgXLvJn48" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/what-is-a-c-enumerator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/what-is-a-c-enumerator/</feedburner:origLink></item>
		<item>
		<title>Structure of an enumerator in c#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/kEuLLuJHBsc/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/structure-of-an-enumerator-in-c/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 15:16:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11975</guid>
		<description>class enumerator // Implements IEnumerator &amp;#123; public IteratorVariableType Current &amp;#123;get &amp;#123;...&amp;#125;&amp;#125; public bool MoveNext &amp;#40;&amp;#41; &amp;#123;...&amp;#125; &amp;#125; &amp;#160; class Enumerable // implements IEnumerable &amp;#123; public Enumerator GetEnumerator &amp;#40;&amp;#41; &amp;#123;...&amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/kEuLLuJHBsc" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/structure-of-an-enumerator-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/structure-of-an-enumerator-in-c/</feedburner:origLink></item>
		<item>
		<title>Advantages of call stack during debugging</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Go34vkoSwlQ/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/advantages-of-call-stack-during-debugging/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 15:06:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11972</guid>
		<description>The call stack can be useful in a number of situations during debugging: 1. The call stack lets us determine when a method is called too early i.e when we invoke the method before the data it requires to function is ready. 2. The call stack helps to determine when a method is called too [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Go34vkoSwlQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/advantages-of-call-stack-during-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/advantages-of-call-stack-during-debugging/</feedburner:origLink></item>
		<item>
		<title>Exception class hierarchy in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/DlLdkC1L6Tk/</link>
		<comments>http://w3mentor.com/learn/java/java-language-basics/exception-class-hierarchy-in-java/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 20:15:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java Language basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11912</guid>
		<description>Exception AclNotFoundException ActivationException UnknownGroupException UnknownObjectException AlreadyBoundException ApplicationException AWTException BadLocationException ClassNotFoundException CloneNotSupportedException ServerCloneException DataFormatException ExpandVetoException GeneralSecurityException CertificateException CertificateEncodingException CertificateExpiredException CertificateNotYetValidException CertificateParsingException CRLException DigestException InvalidAlgorithmParameterException InvalidKeySpecException InvalidParameterSpecException KeyException InvalidKeyException KeyManagementException KeyStoreException NoSuchAlgorithmException NoSuchProviderException SignatureException UnrecoverableKeyException IllegalAccessException InstantiationException InterruptedException IntrospectionException InvocationTargetException IOException ChangedCharSetException CharConversionException EOFException FileNotFoundException InterruptedIOException MalformedURLException ObjectStreamException InvalidClassException InvalidObjectException NotActiveException NotSerializableException OptionalDataException StreamCorruptedException WriteAbortedException ProtocolException RemoteException [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/DlLdkC1L6Tk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/java-language-basics/exception-class-hierarchy-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/java-language-basics/exception-class-hierarchy-in-java/</feedburner:origLink></item>
	</channel>
</rss>
