<?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>Tue, 24 Apr 2012 16:58:44 +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>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>
		<item>
		<title>Example of echo server in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Wv-JPc1oo98/</link>
		<comments>http://w3mentor.com/learn/java/network-programming/example-of-echo-server-in-java/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 20:13:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network Programming]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11910</guid>
		<description>try &amp;#123; ServerSocket s = new ServerSocket&amp;#40;1234&amp;#41;; // Create server while &amp;#40;true&amp;#41; &amp;#123; Socket c = s.accept&amp;#40;&amp;#41;; // Await connection InputStream i = c.getInputStream&amp;#40;&amp;#41;; // Get input stream OutputStream o = c.getOutputStream&amp;#40;&amp;#41;;//Get output stream do &amp;#123; byte&amp;#91;&amp;#93; line = new byte&amp;#91;100&amp;#93;; // Create scratchpad i.read&amp;#40;line&amp;#41;; // Read client's message o.write&amp;#40;line&amp;#41;; // Send it back &amp;#125; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Wv-JPc1oo98" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/network-programming/example-of-echo-server-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/network-programming/example-of-echo-server-in-java/</feedburner:origLink></item>
		<item>
		<title>Example of Echo Client in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/BDhVgcFHas4/</link>
		<comments>http://w3mentor.com/learn/java/network-programming/example-of-echo-client-in-java/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 20:11:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network Programming]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11908</guid>
		<description>Socket s = new Socket&amp;#40;&amp;#34;192.168.1.1&amp;#34;, 123&amp;#41;; // Create socket InputStream i = s.getInputStream&amp;#40;&amp;#41;; // Get input stream OutputStream o = s.getOutputStream&amp;#40;&amp;#41;; // Get output stream String str; do &amp;#123; byte&amp;#91;&amp;#93; line = new byte&amp;#91;100&amp;#93;; System.in.read&amp;#40;line&amp;#41;; // Read from console o.write&amp;#40;line&amp;#41;; // Send the message i.read&amp;#40;line&amp;#41;; // Read it back str = new String&amp;#40;line&amp;#41;; // Convert [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/BDhVgcFHas4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/network-programming/example-of-echo-client-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/network-programming/example-of-echo-client-in-java/</feedburner:origLink></item>
		<item>
		<title>Recursively calculate Fibonacci Sequence in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/_jv_cz3lb_0/</link>
		<comments>http://w3mentor.com/learn/java/java-language-basics/recursively-calculaate-fibonacci-sequence-in-java/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 14:01:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java Language basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11905</guid>
		<description>public class Fibonacci &amp;#123; &amp;#160; private int calculate&amp;#40;int length&amp;#41; &amp;#123; if &amp;#40;length &amp;#60; 0&amp;#41; &amp;#123; throw new IllegalArgumentException&amp;#40;&amp;#34;Input must be greater than zero&amp;#34;&amp;#41;; &amp;#125; if &amp;#40;length &amp;#60;= 1&amp;#41; &amp;#123; return length; &amp;#125; else &amp;#123; return calculate&amp;#40;length - 1&amp;#41; + calculate&amp;#40;length - 2&amp;#41;; &amp;#125; &amp;#125; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; Fibonacci fibonacci = new Fibonacci&amp;#40;&amp;#41;; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/_jv_cz3lb_0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/java-language-basics/recursively-calculaate-fibonacci-sequence-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/java-language-basics/recursively-calculaate-fibonacci-sequence-in-java/</feedburner:origLink></item>
		<item>
		<title>Compute factorial using for loop in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/jFJ0FZ6jncg/</link>
		<comments>http://w3mentor.com/learn/java/java-language-basics/compute-factorial-using-for-loop-in-java/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 14:00:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java Language basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11903</guid>
		<description>public class Factorial &amp;#123; &amp;#160; int calculate&amp;#40;int number&amp;#41; &amp;#123; if &amp;#40;number &amp;#60; 0&amp;#41; &amp;#123; throw new IllegalArgumentException&amp;#40;&amp;#34;integer must be greater than zero&amp;#34;&amp;#41;; &amp;#125; if&amp;#40; number == 0 &amp;#124;&amp;#124; number == 1&amp;#41; return 1; else &amp;#123; int total = 1; for &amp;#40;int i = 1; i &amp;#60; number + 1; i++&amp;#41; &amp;#123; total *= i; &amp;#125; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/jFJ0FZ6jncg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/java-language-basics/compute-factorial-using-for-loop-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/java-language-basics/compute-factorial-using-for-loop-in-java/</feedburner:origLink></item>
		<item>
		<title>Calculate factorial using recursion in Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/GEN7eZhjVRs/</link>
		<comments>http://w3mentor.com/learn/java/java-language-basics/calculate-factorial-using-recursion-in-java/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 13:58:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java Language basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11901</guid>
		<description>package com.w3mentor.examples.factorial; &amp;#160; public class Factorial &amp;#123; &amp;#160; int calculate&amp;#40;int number&amp;#41; &amp;#123; if &amp;#40;number &amp;#60; 0&amp;#41; &amp;#123; throw new IllegalArgumentException&amp;#40;&amp;#34;integer must be greater than zero&amp;#34;&amp;#41;; &amp;#125; if&amp;#40; number == 0&amp;#41; &amp;#123; return 1; &amp;#125; else &amp;#123; return number * calculate &amp;#40;number - 1&amp;#41;; &amp;#125; &amp;#125; &amp;#160; public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; &amp;#123; Factorial factorial = [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/GEN7eZhjVRs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/java-language-basics/calculate-factorial-using-recursion-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/java-language-basics/calculate-factorial-using-recursion-in-java/</feedburner:origLink></item>
		<item>
		<title>Query processes using LINQ to find windows services</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/VKlefZSSHy0/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/query-processes-using-linq-to-find-windows-services/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 17:34:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Select]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11897</guid>
		<description>IEnumerable&amp;#60;Process&amp;#62; pList = from proc in Process.GetProcesses&amp;#40;&amp;#41; where String.Equals&amp;#40;proc.ProcessName, &amp;#34;svchost&amp;#34;&amp;#41; select proc;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/VKlefZSSHy0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/query-processes-using-linq-to-find-windows-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/query-processes-using-linq-to-find-windows-services/</feedburner:origLink></item>
		<item>
		<title>Simple LINQ to Objects example</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/r5Q7BZcQLIw/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/simple-linq-to-objects-example/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 17:30:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Select]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11893</guid>
		<description>List&amp;#60;Employee&amp;#62; employees = new List&amp;#60;Employee&amp;#62;&amp;#40;&amp;#41; &amp;#123; new Employee &amp;#123; ID=1, Name=&amp;#34;Ravi&amp;#34;, JoinDate=new DateTime&amp;#40;2002, 1, 15&amp;#41; &amp;#125;, new Employee &amp;#123; ID=2, Name=&amp;#34;Raja&amp;#34;, JoinDate=new DateTime&amp;#40;2002, 3, 17 &amp;#125;, new Employee &amp;#123; ID=3, Name=&amp;#34;Mani&amp;#34;, JoinDate=new DateTime&amp;#40;2007, 2, 11&amp;#41; &amp;#125; &amp;#125;; &amp;#160; IEnumerable&amp;#60;Employee&amp;#62; query = from e in employees where e.JoinDate.Year &amp;#60; 2003 orderby e.Name select e; &amp;#160; foreach [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/r5Q7BZcQLIw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/simple-linq-to-objects-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/simple-linq-to-objects-example/</feedburner:origLink></item>
		<item>
		<title>Query public types in an assembly using LINQ</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/bELvk8Puj5Q/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/query-public-types-in-an-assembly-using-linq/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 17:28:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Select]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11891</guid>
		<description>IEnumerable&amp;#60;string&amp;#62; publicTypes = from t in Assembly.GetExecutingAssembly&amp;#40;&amp;#41;.GetTypes&amp;#40;&amp;#41; where t.IsPublic select t.FullName; &amp;#160; foreach &amp;#40;string name in publicTypes&amp;#41; &amp;#123; Console.WriteLine&amp;#40;name&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/bELvk8Puj5Q" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-asp-net-linq/select-c-asp-net-linq-asp-dot-net-c-sharp/query-public-types-in-an-assembly-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/select-c-asp-net-linq-asp-dot-net-c-sharp/query-public-types-in-an-assembly-using-linq/</feedburner:origLink></item>
		<item>
		<title>Type Validation Functions in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/wUEgDmYKNL4/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-language-basics/type-validation-functions-in-php/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 15:45:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11814</guid>
		<description>is_array() &amp;#8211; Test for Arrays is_bool() &amp;#8211; Test for Booleans (TRUE, FALSE) is_float() &amp;#8211; Test for Floating-point numbers is_int() &amp;#8211; Test for Integers is_null() &amp;#8211; Test for NULLs is_numeric() &amp;#8211; Test forNumeric values, even as a string (e.g., &amp;#8216; 20&amp;#8242; ) is_resource() &amp;#8211; Test for Resources, like a database connection is_scalar() &amp;#8211; Test for Scalar [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/wUEgDmYKNL4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-language-basics/type-validation-functions-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-language-basics/type-validation-functions-in-php/</feedburner:origLink></item>
		<item>
		<title>Get phone number in android using Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/zd72GCyoeZA/</link>
		<comments>http://w3mentor.com/learn/java/android-development/get-phone-number-in-android-using-java/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 15:31:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11812</guid>
		<description>private String getMyPhoneNumber&amp;#40;&amp;#41;&amp;#123; TelephonyManager mTelephonyMgr; mTelephonyMgr = &amp;#40;TelephonyManager&amp;#41; getSystemService&amp;#40;Context.TELEPHONY_SERVICE&amp;#41;; return mTelephonyMgr.getLine1Number&amp;#40;&amp;#41;; &amp;#125; &amp;#160; private String getMy10DigitPhoneNumber&amp;#40;&amp;#41;&amp;#123; String s = getMyPhoneNumber&amp;#40;&amp;#41;; return s.substring&amp;#40;2&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/zd72GCyoeZA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/get-phone-number-in-android-using-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/get-phone-number-in-android-using-java/</feedburner:origLink></item>
		<item>
		<title>Check network connection availability on android using Java</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/YKTF1RpIbiY/</link>
		<comments>http://w3mentor.com/learn/java/android-development/check-network-connection-availability-on-android-using-java/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 15:16:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11810</guid>
		<description>public boolean checkTheNetworkAvailability&amp;#40;&amp;#41; &amp;#123; Context mycontext = getApplicationContext&amp;#40;&amp;#41;; ConnectivityManager myconnectivity = &amp;#40;ConnectivityManager&amp;#41; mycontext.getSystemService&amp;#40;Context.CONNECTIVITY_SERVICE&amp;#41;; if &amp;#40;myconnectivity == null&amp;#41; &amp;#123; return false; // failed null!.. &amp;#125; else &amp;#123; NetworkInfo&amp;#91;&amp;#93; myinfo = myconnectivity.getAllNetworkInfo&amp;#40;&amp;#41;; if &amp;#40;myinfo != null&amp;#41; &amp;#123; for &amp;#40;int i = 0; i &amp;#60; myinfo.length; i++&amp;#41; &amp;#123; if &amp;#40;myinfo&amp;#91;i&amp;#93;.getState&amp;#40;&amp;#41; == NetworkInfo.State.CONNECTED&amp;#41; &amp;#123; return true; &amp;#125; &amp;#125; &amp;#125; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/YKTF1RpIbiY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/check-network-connection-availability-on-android-using-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/check-network-connection-availability-on-android-using-java/</feedburner:origLink></item>
		<item>
		<title>Hide the status bar on android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/YQCQOKJ6VQ0/</link>
		<comments>http://w3mentor.com/learn/java/android-development/hide-the-status-bar-on-android/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 15:14:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11808</guid>
		<description>getWindow&amp;#40;&amp;#41;.setFlags&amp;#40;WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/YQCQOKJ6VQ0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/hide-the-status-bar-on-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/hide-the-status-bar-on-android/</feedburner:origLink></item>
		<item>
		<title>Hide title bar on android</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/S1xw1k_Iv7c/</link>
		<comments>http://w3mentor.com/learn/java/android-development/hide-title-bar-on-android/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 15:13:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11806</guid>
		<description>requestWindowFeature&amp;#40;Window.FEATURE_NO_TITLE&amp;#41;; requestWindowFeature&amp;#40;Window.FEATURE_PROGRESS&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/S1xw1k_Iv7c" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/hide-title-bar-on-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/hide-title-bar-on-android/</feedburner:origLink></item>
		<item>
		<title>Android enable disable wifi on phone</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/9uVQTJScXnY/</link>
		<comments>http://w3mentor.com/learn/java/android-development/android-enable-disable-wifi-on-phone/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 15:12:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Development]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11804</guid>
		<description>WifiManager mywifi = &amp;#40;WifiManager&amp;#41; getSystemService&amp;#40;Context.WIFI_SERVICE&amp;#41;; mywifi.setWifiEnabled&amp;#40;enabled&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/9uVQTJScXnY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/java/android-development/android-enable-disable-wifi-on-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/java/android-development/android-enable-disable-wifi-on-phone/</feedburner:origLink></item>
		<item>
		<title>Hide a file in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/EbA97lXusF4/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/hide-a-file-in-c/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:42:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# File Handling]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11801</guid>
		<description>File.SetAttributes&amp;#40;filePath, File.GetAttributes&amp;#40;filePath&amp;#41; &amp;#124; FileAttributes.Hidden&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/EbA97lXusF4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/hide-a-file-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/hide-a-file-in-c/</feedburner:origLink></item>
		<item>
		<title>Check if a file is system file in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/kh0vjfWuq1k/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-is-system-file-in-c/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:41:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# File Handling]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11799</guid>
		<description>bool isSystem = &amp;#40;&amp;#40;File.GetAttributes&amp;#40;filePath&amp;#41; &amp;#38; FileAttributes.System&amp;#41; == FileAttributes.System&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/kh0vjfWuq1k" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-is-system-file-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-is-system-file-in-c/</feedburner:origLink></item>
		<item>
		<title>Check if a file has archive attribute in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/Z6myekrSNCQ/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-has-archive-attribute-in-c/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:41:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# File Handling]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11797</guid>
		<description>bool isArchive = &amp;#40;&amp;#40;File.GetAttributes&amp;#40;filePath&amp;#41; &amp;#38; FileAttributes.Archive&amp;#41; == FileAttributes.Archive&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/Z6myekrSNCQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-has-archive-attribute-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-has-archive-attribute-in-c/</feedburner:origLink></item>
		<item>
		<title>Check whether a file is hidden in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/DZS6IoAdbjA/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-whether-a-file-is-hidden-in-c/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:40:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# File Handling]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11795</guid>
		<description>bool isHidden = &amp;#40;&amp;#40;File.GetAttributes&amp;#40;filePath&amp;#41; &amp;#38; FileAttributes.Hidden&amp;#41; == FileAttributes.Hidden&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/DZS6IoAdbjA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-whether-a-file-is-hidden-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-whether-a-file-is-hidden-in-c/</feedburner:origLink></item>
		<item>
		<title>Check if a file is read only in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/zsD_t9Jwrno/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-is-read-only-in-c/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:39:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# File Handling]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11793</guid>
		<description>bool isReadOnly = &amp;#40;&amp;#40;File.GetAttributes&amp;#40;filePath&amp;#41; &amp;#38; FileAttributes.ReadOnly&amp;#41; == FileAttributes.ReadOnly&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/zsD_t9Jwrno" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-is-read-only-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-file-handling/check-if-a-file-is-read-only-in-c/</feedburner:origLink></item>
		<item>
		<title>Display the call stack method names in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/k8XTNvAuGE8/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/display-the-call-stack-method-names-in-c/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:38:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11791</guid>
		<description>using System.Diagnostics; &amp;#160; &amp;#91;STAThread&amp;#93; public static void Main&amp;#40;&amp;#41; &amp;#123; //obtain call stack StackTrace stackTrace = new StackTrace&amp;#40;&amp;#41;; // obtain method calls (frames) StackFrame&amp;#91;&amp;#93; stackFrames = stackTrace.GetFrames&amp;#40;&amp;#41;; &amp;#160; // display method names foreach &amp;#40;StackFrame stackFrame in stackFrames&amp;#41; &amp;#123; Console.WriteLine&amp;#40;stackFrame.GetMethod&amp;#40;&amp;#41;.Name&amp;#41;; // output method name &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/k8XTNvAuGE8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/display-the-call-stack-method-names-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/display-the-call-stack-method-names-in-c/</feedburner:origLink></item>
		<item>
		<title>Get Name of the  calling method using Reflection in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/PVp51ehSiFE/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/get-name-of-the-calling-method-using-reflection-in-c/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:37:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11789</guid>
		<description>using System.Diagnostics; &amp;#160; // get call stack StackTrace stackTrace = new StackTrace&amp;#40;&amp;#41;; &amp;#160; // get calling method name Console.WriteLine&amp;#40;stackTrace.GetFrame&amp;#40;1&amp;#41;.GetMethod&amp;#40;&amp;#41;.Name&amp;#41;;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/PVp51ehSiFE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/get-name-of-the-calling-method-using-reflection-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/get-name-of-the-calling-method-using-reflection-in-c/</feedburner:origLink></item>
		<item>
		<title>C# Enqueue and Dequeue queue operations</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/n6wjufPiINU/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/c-enqueue-and-dequeue-queue-operations/#comments</comments>
		<pubDate>Tue, 24 May 2011 20:50:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11786</guid>
		<description>Queue&amp;#60;string&amp;#62; myQueue = new Queue&amp;#60;string&amp;#62;&amp;#40;&amp;#41;; void AddQueueItem&amp;#40;string request&amp;#41; &amp;#123; myQueue.Enqueue&amp;#40;request&amp;#41; ; &amp;#125; string GetNextQueueItem&amp;#40;&amp;#41; &amp;#123; return myQueue.Dequeue&amp;#40;&amp;#41; ; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/n6wjufPiINU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/c-enqueue-and-dequeue-queue-operations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/c-enqueue-and-dequeue-queue-operations/</feedburner:origLink></item>
		<item>
		<title>Stack push and pop in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/q-3ipgaMnPU/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/stack-push-and-pop-in-c/#comments</comments>
		<pubDate>Tue, 24 May 2011 20:48:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11784</guid>
		<description>Stack&amp;#60;string&amp;#62; myStack = new Stack&amp;#60;string&amp;#62;&amp;#40;&amp;#41; ; void addRecord&amp;#40;string move&amp;#41; &amp;#123; myStack.Push&amp;#40;move&amp;#41;; &amp;#125; string GetLastRecord&amp;#40;&amp;#41; &amp;#123; return myStack.Pop&amp;#40;&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/q-3ipgaMnPU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/stack-push-and-pop-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/stack-push-and-pop-in-c/</feedburner:origLink></item>
		<item>
		<title>Arraylist properties and methods in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/fne5-_AVt2o/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/arraylist-properties-and-methods-in-c/#comments</comments>
		<pubDate>Tue, 24 May 2011 20:16:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11782</guid>
		<description>ArrayList alphaList = new ArrayList&amp;#40;&amp;#41;; alphaList.Add&amp;#40;&amp;#34;A&amp;#34;&amp;#41;; alphaList.Add&amp;#40;&amp;#34;D&amp;#34;&amp;#41;; alphaList.Add&amp;#40;&amp;#34;W&amp;#34;&amp;#41;; Console.WriteLine&amp;#40;&amp;#34;Original Capacity&amp;#34;&amp;#41;; Console.WriteLine&amp;#40;alphaList.Capacity&amp;#41;; Console.WriteLine&amp;#40;&amp;#34;Original Values&amp;#34;&amp;#41;; foreach &amp;#40;object alpha in alphaList&amp;#41; &amp;#123; Console.WriteLine&amp;#40;alpha&amp;#41;; &amp;#125; &amp;#160; alphaList.Insert&amp;#40;alphaList.IndexOf&amp;#40;&amp;#34;D&amp;#34;&amp;#41; , &amp;#34;C&amp;#34;&amp;#41;; alphaList.Insert&amp;#40;alphaList.IndexOf&amp;#40;&amp;#34;W&amp;#34;&amp;#41; , &amp;#34;J&amp;#34;&amp;#41;; Console.WriteLine&amp;#40;&amp;#34;New Capacity&amp;#34;&amp;#41;; Console.WriteLine&amp;#40;alphaList. Capacity&amp;#41;; Console.WriteLine&amp;#40;&amp;#34;New Values&amp;#34;&amp;#41;; foreach &amp;#40;object alpha in alphaList&amp;#41; &amp;#123; Console.WriteLine&amp;#40;alpha&amp;#41;; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/fne5-_AVt2o" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/arraylist-properties-and-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/arraylist-properties-and-methods-in-c/</feedburner:origLink></item>
		<item>
		<title>Declare and fill a two-dimensional array in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/gdxKNW62Oo4/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/declare-and-fills-a-two-dimensional-array-in-c/#comments</comments>
		<pubDate>Tue, 24 May 2011 20:13:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11779</guid>
		<description>int&amp;#91;, &amp;#93; my2DArray = &amp;#123; &amp;#123; 1, 1 &amp;#125;, &amp;#123; 3, 5 &amp;#125;, &amp;#123; 5, 7 &amp;#125; &amp;#125;; for &amp;#40;int i = 0; i &amp;#60;= my2DArray. GetUpperBound&amp;#40;0&amp;#41; ; i++&amp;#41; &amp;#123; for &amp;#40;int x = 0; x &amp;#60;= my2DArray.GetUpperBound&amp;#40;1&amp;#41;; x++&amp;#41; &amp;#123; Console.WriteLine&amp;#40;&amp;#34;Index = [{0},{1}] Value = {2}&amp;#34;, i, x, my2DArray&amp;#91;i, x&amp;#93; &amp;#41;; &amp;#125; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/gdxKNW62Oo4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/declare-and-fills-a-two-dimensional-array-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/declare-and-fills-a-two-dimensional-array-in-c/</feedburner:origLink></item>
		<item>
		<title>Foreach loop to iterate through the elements of the array in C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/jpXk3KMInag/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/foreach-loop-to-iterate-through-the-elements-of-the-array-in-c/#comments</comments>
		<pubDate>Tue, 24 May 2011 20:10:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Collections and Generics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11777</guid>
		<description>int&amp;#91;&amp;#93; intArray = &amp;#123; 1, 2, 3, 4, 5 &amp;#125;; Console.WriteLine&amp;#40;&amp;#34;Upper Bound&amp;#34;&amp;#41;; Console.WriteLine&amp;#40;intArray. GetUpperBound&amp;#40;0&amp;#41; &amp;#41;; Console.WriteLine&amp;#40;&amp;#34;Array elements&amp;#34;&amp;#41; ; foreach &amp;#40;int item in intArray&amp;#41; &amp;#123; Console.WriteLine&amp;#40;item&amp;#41; ; &amp;#125; Array.Reverse&amp;#40;intArray&amp;#41; ; Console.WriteLine&amp;#40;&amp;#34;Array reversed&amp;#34;&amp;#41; ; foreach &amp;#40;int item in intArray&amp;#41; &amp;#123; Console.WriteLine&amp;#40;item&amp;#41; ; &amp;#125; Array.Clear&amp;#40;intArray, 2, 2&amp;#41; ; Console.WriteLine&amp;#40;&amp;#34;Elements 2 and 3 cleared&amp;#34;&amp;#41; ; foreach &amp;#40;int item in [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/jpXk3KMInag" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-collections-and-generics/foreach-loop-to-iterate-through-the-elements-of-the-array-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/foreach-loop-to-iterate-through-the-elements-of-the-array-in-c/</feedburner:origLink></item>
		<item>
		<title>Test if number is even or odd in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/2PEameFtl7A/</link>
		<comments>http://w3mentor.com/learn/cc/functions-recursion/test-if-number-is-even-or-odd-in-c/#comments</comments>
		<pubDate>Mon, 09 May 2011 23:37:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Functions & Recursion]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11773</guid>
		<description>#include &amp;#60;iostream&amp;#62; using namespace std; &amp;#160; int main&amp;#40;&amp;#41; &amp;#123; int n, remainder; cout &amp;#60;&amp;#60; &amp;#34;Enter a number and press ENTER: &amp;#34;; cin &amp;#62;&amp;#62; n; remainder = n % 2; &amp;#160; if &amp;#40;remainder == 0&amp;#41; cout &amp;#60;&amp;#60; &amp;#34;The number is even.&amp;#34; &amp;#60;&amp;#60; endl; else cout &amp;#60;&amp;#60; &amp;#34;The number is odd.&amp;#34; &amp;#60;&amp;#60; endl; &amp;#160; system&amp;#40;&amp;#34;PAUSE&amp;#34;&amp;#41;; return 0; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/2PEameFtl7A" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/functions-recursion/test-if-number-is-even-or-odd-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/functions-recursion/test-if-number-is-even-or-odd-in-c/</feedburner:origLink></item>
		<item>
		<title>Calculate square of a number in C</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/2SjRoH6YD64/</link>
		<comments>http://w3mentor.com/learn/cc/interview-questions-cc/calculate-square-of-a-number-in-c/#comments</comments>
		<pubDate>Mon, 09 May 2011 23:35:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11770</guid>
		<description>#include &amp;#60;iostream&amp;#62; using namespace std; &amp;#160; int main&amp;#40;&amp;#41; &amp;#123; double n; cout &amp;#60;&amp;#60; &amp;#34;Input a number and press ENTER: &amp;#34;; cin &amp;#62;&amp;#62; n; cout &amp;#60;&amp;#60; &amp;#34;The square is: &amp;#34; &amp;#60;&amp;#60; n * n &amp;#60;&amp;#60; endl; system&amp;#40;&amp;#34;PAUSE&amp;#34;&amp;#41;; return 0; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/2SjRoH6YD64" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/interview-questions-cc/calculate-square-of-a-number-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/interview-questions-cc/calculate-square-of-a-number-in-c/</feedburner:origLink></item>
		<item>
		<title>Convert celsius to farenheit in C++</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/DXeh0Mv67K0/</link>
		<comments>http://w3mentor.com/learn/cc/functions-recursion/convert-celsius-to-farenheit-in-c/#comments</comments>
		<pubDate>Mon, 09 May 2011 23:26:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Functions & Recursion]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11768</guid>
		<description>#include &amp;#60;iostream&amp;#62; using namespace std; &amp;#160; int main&amp;#40;&amp;#41; &amp;#123; double ctemp; // Celsius temperature double ftemp; // Fahrenheit temperature cout &amp;#60;&amp;#60; &amp;#34;Input a Celsius temp and press ENTER: &amp;#34;; cin &amp;#62;&amp;#62; ctemp; ftemp = &amp;#40;ctemp * 1.8&amp;#41; + 32; cout &amp;#60;&amp;#60; &amp;#34;Fahrenheit temp is: &amp;#34; &amp;#60;&amp;#60; ftemp &amp;#60;&amp;#60; endl; &amp;#160; return 0; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/DXeh0Mv67K0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/functions-recursion/convert-celsius-to-farenheit-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/functions-recursion/convert-celsius-to-farenheit-in-c/</feedburner:origLink></item>
		<item>
		<title>Printing multiple lines in C++</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/iowNycLkIEs/</link>
		<comments>http://w3mentor.com/learn/cc/functions-recursion/printing-multiple-lines-in-c/#comments</comments>
		<pubDate>Mon, 09 May 2011 23:24:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Functions & Recursion]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11766</guid>
		<description>#include &amp;#60;iostream&amp;#62; using namespace std; &amp;#160; int main&amp;#40;&amp;#41; &amp;#123; cout &amp;#60;&amp;#60; &amp;#34;welcome,&amp;#34; &amp;#60;&amp;#60; endl; cout &amp;#60;&amp;#60; &amp;#34;to the website.&amp;#34; &amp;#60;&amp;#60; endl; cout &amp;#60;&amp;#60; &amp;#34;w3mentor.com!&amp;#34; &amp;#60;&amp;#60; endl; &amp;#160; system&amp;#40;&amp;#34;PAUSE&amp;#34;&amp;#41;; return 0; &amp;#125;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/iowNycLkIEs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/cc/functions-recursion/printing-multiple-lines-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/cc/functions-recursion/printing-multiple-lines-in-c/</feedburner:origLink></item>
		<item>
		<title>Urlencoding in PHP using urlencode</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/hUgMKSzuE94/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-language-basics/urlencoding-in-php-using-urlencode/#comments</comments>
		<pubDate>Mon, 02 May 2011 16:40:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11764</guid>
		<description>&amp;#60;?php $myurlparam = &amp;#34;hello this is a test message&amp;#34;; $site = &amp;#34;http://www.w3mentor.com&amp;#34;; $query = $site; $query .= &amp;#34;&amp;#38;message=&amp;#34;.urlencode&amp;#40; $myurlparam &amp;#41;; echo $query; ?&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/hUgMKSzuE94" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-language-basics/urlencoding-in-php-using-urlencode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-language-basics/urlencoding-in-php-using-urlencode/</feedburner:origLink></item>
		<item>
		<title>Compare two arrays to see if value from form post exists in PHP</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/ZVuE7OqKYec/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-forms/compare-two-arrays-to-see-if-value-from-form-post-exists-in-php/#comments</comments>
		<pubDate>Mon, 02 May 2011 16:35:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Forms]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11762</guid>
		<description>&amp;#60;?php $choices = array&amp;#40;'my choice 1', 'my choice 2', 'my choice 3'&amp;#41;; &amp;#160; $valid = true; if &amp;#40;is_array&amp;#40;$_GET&amp;#91;'inputArray'&amp;#93;&amp;#41;&amp;#41; &amp;#123; $valid = true; foreach&amp;#40;$_GET&amp;#91;'inputArray'&amp;#93; as $input&amp;#41; &amp;#123; if &amp;#40;!in_array&amp;#40;$input, $choices&amp;#41;&amp;#41; &amp;#123; $valid = false; &amp;#125; &amp;#125; &amp;#160; if &amp;#40;$valid&amp;#41; &amp;#123; echo &amp;#34;Input Value were found in choices&amp;#34;; &amp;#125; &amp;#125; ?&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/ZVuE7OqKYec" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-forms/compare-two-arrays-to-see-if-value-from-form-post-exists-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-forms/compare-two-arrays-to-see-if-value-from-form-post-exists-in-php/</feedburner:origLink></item>
		<item>
		<title>Using Radio buttons in PHP Form</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/MBhUaidRZlM/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-forms/using-radio-buttons-in-php-form/#comments</comments>
		<pubDate>Mon, 02 May 2011 16:30:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Forms]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11760</guid>
		<description>&amp;#60;html&amp;#62; &amp;#60;body&amp;#62; &amp;#160; &amp;#60;form action=&amp;#34;mychoice.php&amp;#34; method=&amp;#34;post&amp;#34;&amp;#62; &amp;#60;b&amp;#62;Enter Name:&amp;#60;/b&amp;#62; &amp;#60;input type=&amp;#34;text&amp;#34; size=&amp;#34;45&amp;#34; name=&amp;#34;username&amp;#34;&amp;#62; &amp;#60;br&amp;#62; &amp;#60;b&amp;#62;Please select your favorite animal:&amp;#60;/b&amp;#62; &amp;#60;br&amp;#62; &amp;#60;input type=&amp;#34;radio&amp;#34; name=&amp;#34;animal&amp;#34; value=&amp;#34;dog&amp;#34;&amp;#62;Dog &amp;#60;input type=&amp;#34;radio&amp;#34; name=&amp;#34;animal&amp;#34; value=&amp;#34;cat&amp;#34;&amp;#62;Cat &amp;#60;input type=&amp;#34;radio&amp;#34; name=&amp;#34;animal&amp;#34; value=&amp;#34;fish&amp;#34;&amp;#62;Fish &amp;#60;br&amp;#62; &amp;#60;input type=&amp;#34;submit&amp;#34; value=&amp;#34;Submit&amp;#34;&amp;#62; &amp;#60;/form&amp;#62; &amp;#160; &amp;#60;/body&amp;#62; &amp;#60;/html&amp;#62; File: mychoice.php &amp;#60;html&amp;#62; &amp;#60;head&amp;#62; &amp;#60;title&amp;#62;Form submission&amp;#60;/title&amp;#62; &amp;#60;/head&amp;#62; &amp;#60;body&amp;#62; &amp;#60;br&amp;#62; &amp;#160; &amp;#60;?php $username = $_POST&amp;#91;'username'&amp;#93;; $animal = [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/MBhUaidRZlM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-forms/using-radio-buttons-in-php-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-forms/using-radio-buttons-in-php-form/</feedburner:origLink></item>
		<item>
		<title>Radio button validation in PHP using array_key_exists</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/btoAwBNGpgU/</link>
		<comments>http://w3mentor.com/learn/php-mysql-tutorials/php-arrays/radio-button-validation-in-php-using-array_key_exists/#comments</comments>
		<pubDate>Mon, 02 May 2011 16:26:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Arrays]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11758</guid>
		<description>&amp;#60;?php $animals = array&amp;#40;'dog' =&amp;#62; 'D', 'cat' =&amp;#62; 'C', 'bird' =&amp;#62; 'B'&amp;#41;; foreach &amp;#40;$animals as $key =&amp;#62; $animal&amp;#41; &amp;#123; echo &amp;#34;&amp;#60;input type='radio' name='animal' value='$key'/&amp;#62; $animal \n&amp;#34;; &amp;#125; &amp;#160; if &amp;#40;!array_key_exists&amp;#40;$_POST&amp;#91;'animal'&amp;#93;, $animals&amp;#41;&amp;#41; &amp;#123; echo &amp;#34;You must select a valid animal.&amp;#34;; &amp;#125; ?&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/btoAwBNGpgU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/php-mysql-tutorials/php-arrays/radio-button-validation-in-php-using-array_key_exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/php-mysql-tutorials/php-arrays/radio-button-validation-in-php-using-array_key_exists/</feedburner:origLink></item>
		<item>
		<title>Positioning elements on a Silverlight Canvas</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/iAlgNhaRI5A/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/positioning-elements-on-a-silverlight-canvas/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 23:48:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET Silverlight]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11754</guid>
		<description>The Canvas.Top and Canvas.Left attributes can be set within the children control&amp;#8217;s XAML to position within the Canvas relatively. &amp;#60;UserControl x:Class='TestSilverlightApplication.MainPage' xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' xmlns:d='http://schemas.microsoft.com/expression/blend/2008' xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006' mc:Ignorable='d' d:DesignWidth='640' d:DesignHeight='480'&amp;#62; &amp;#60;StackPanel Orientation=&amp;#34;Vertical&amp;#34; Background=&amp;#34;Blue&amp;#34;&amp;#62; &amp;#60;Canvas x:Name=&amp;#34;MyCanvas&amp;#34; HorizontalAlignment=&amp;#34;Left&amp;#34; VerticalAlignment=&amp;#34;Top&amp;#34; Height=&amp;#34;200&amp;#34; Width=&amp;#34;400&amp;#34; Background=&amp;#34;White&amp;#34; Margin=&amp;#34;10&amp;#34;&amp;#62; &amp;#60;TextBlock Canvas.Top=&amp;#34;10&amp;#34; Canvas.Left=&amp;#34;15&amp;#34; FontSize=&amp;#34;40&amp;#34; Foreground=&amp;#34;Red&amp;#34; Text=&amp;#34;Sample Canvas Text&amp;#34; /&amp;#62; &amp;#60;Rectangle Canvas.Top=&amp;#34;40&amp;#34; Canvas.Left=&amp;#34;50&amp;#34; Height=&amp;#34;60&amp;#34; Width=&amp;#34;100&amp;#34; Fill=&amp;#34;Green&amp;#34; Canvas.ZIndex=&amp;#34;-1&amp;#34; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/iAlgNhaRI5A" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/positioning-elements-on-a-silverlight-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/positioning-elements-on-a-silverlight-canvas/</feedburner:origLink></item>
		<item>
		<title>Set padding in silverlight code behind</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/ny6z24zguPU/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/set-padding-in-silverlight-code-behind/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 23:39:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET Silverlight]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11752</guid>
		<description>Xaml: &amp;#60;UserControl x:Class='TestSilverlightApplication.MainPage' xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' xmlns:d='http://schemas.microsoft.com/expression/blend/2008' xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006' mc:Ignorable='d' d:DesignWidth='640' d:DesignHeight='480'&amp;#62; &amp;#160; &amp;#60;Canvas Name=&amp;#34;canvas1&amp;#34;&amp;#62; &amp;#60;/Canvas&amp;#62; &amp;#60;/UserControl&amp;#62; Code behind: namespace TestSilverlightApplication &amp;#123; public partial class MainPage : UserControl &amp;#123; Button mybutton = null; &amp;#160; public MainPage&amp;#40;&amp;#41; &amp;#123; InitializeComponent&amp;#40;&amp;#41;; &amp;#125; &amp;#160; private void Window_Loaded&amp;#40;object sender, RoutedEventArgs e&amp;#41; &amp;#123; mybutton = new Button &amp;#123; Content = &amp;#34;Hi and Welcome&amp;#34;, [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/ny6z24zguPU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/set-padding-in-silverlight-code-behind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/set-padding-in-silverlight-code-behind/</feedburner:origLink></item>
		<item>
		<title>Change canvas background in Silverlight .Net</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/XIVCELWZolU/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/change-canvas-background-in-silverlight-net/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 23:36:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET Silverlight]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11750</guid>
		<description>&amp;#60;UserControl x:Class='TestSLApp.MainPage' xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' xmlns:d='http://schemas.microsoft.com/expression/blend/2008' xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006' mc:Ignorable='d' d:DesignWidth='640' d:DesignHeight='480'&amp;#62; &amp;#160; &amp;#60;Canvas x:Name=&amp;#34;LayoutRoot&amp;#34; Background=&amp;#34;Red&amp;#34;&amp;#62; &amp;#60;Rectangle Canvas.Left=&amp;#34;100&amp;#34; Canvas.Top=&amp;#34;10&amp;#34; Width=&amp;#34;40&amp;#34; Height=&amp;#34;20&amp;#34; Fill=&amp;#34;Yellow&amp;#34; /&amp;#62; &amp;#60;/Canvas&amp;#62; &amp;#160; &amp;#60;/UserControl&amp;#62;&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/XIVCELWZolU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/change-canvas-background-in-silverlight-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/net-silverlight/change-canvas-background-in-silverlight-net/</feedburner:origLink></item>
		<item>
		<title>Merge Datasets using C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/sAbwCa86blA/</link>
		<comments>http://w3mentor.com/learn/other/merge-datasets-using-c/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 01:48:52 +0000</pubDate>
		<dc:creator>sbm</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=3986</guid>
		<description>We can merge a dataset to another dataset using Merge. Lets assume we have two datasets ds1 and ds2. DataSet ds1 = new DataSet(); da1.Fill(ds, "temp");&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/sAbwCa86blA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/other/merge-datasets-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/other/merge-datasets-using-c/</feedburner:origLink></item>
		<item>
		<title>perl abs Function</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/ok6X6EdrQPo/</link>
		<comments>http://w3mentor.com/learn/perl/perl-functions/perl-abs-function-2/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 01:48:49 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl Functions]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8584</guid>
		<description>PERL abs FunctionPERL abs Function Syntax abs VALUE abs PERL abs Function Definition and Usage Returns the absolute value of its argument. If pure interger value is passed then it will return it as it is but if a string is passed then it will return zero. If VALUE is omitted then it uses $_ [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/ok6X6EdrQPo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-functions/perl-abs-function-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/perl/perl-functions/perl-abs-function-2/</feedburner:origLink></item>
		<item>
		<title>printf function in PERL</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/e7uFSVAgT58/</link>
		<comments>http://w3mentor.com/learn/perl/perl-functions/printf-function-in-perl/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 01:48:47 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl Functions]]></category>
		<category><![CDATA[reference]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8590</guid>
		<description>PERL printf FunctionPERL printf Function Syntax printf FILEHANDLE FORMAT, LIST printf FORMAT, LIST PERL printf Function Definition and Usage Prints the value of LIST interpreted via the format specified by FORMAT to the current output filehandle, or to the one specified by FILEHANDLE. Effectively equivalent to print FILEHANDLE sprintf(FORMAT, LIST) You can use print in [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/e7uFSVAgT58" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-functions/printf-function-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/perl/perl-functions/printf-function-in-perl/</feedburner:origLink></item>
		<item>
		<title>Strip out all html tags in string using C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/eH0h9LKz06c/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/strip-out-all-html-tags-in-string-using-c/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 00:15:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Language Basics]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11633</guid>
		<description>The tags need not be correctly nested for the below implementation to work.. public static string RemoveHtmlTags&amp;#40;string pInput&amp;#41; &amp;#123; char&amp;#91;&amp;#93; array = new char&amp;#91;pInput.Length&amp;#93;; int arrayIndex = 0; bool inside = false; for &amp;#40;int i = 0; i &amp;#60; pInput.Length; i++&amp;#41; &amp;#123; char let = pInput&amp;#91;i&amp;#93;; if &amp;#40;let == '&amp;#60;'&amp;#41; &amp;#123; inside = true; continue; [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/eH0h9LKz06c" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/asp-dot-net-language-basics/strip-out-all-html-tags-in-string-using-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/strip-out-all-html-tags-in-string-using-c/</feedburner:origLink></item>
		<item>
		<title>Check if remote files exist using C#</title>
		<link>http://feedproxy.google.com/~r/w3mentor/~3/_QQMI54_2Mk/</link>
		<comments>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-network-programming/check-if-remote-files-exist-using-c/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 00:10:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C# Network Programming]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=11631</guid>
		<description>public void CheckFile&amp;#40;&amp;#41; &amp;#123; // The two different files as strings. string urlfile1 = &amp;#34;http://remotehost.com/file1.zip&amp;#34;; string urlfile2 = &amp;#34;http://remotehost.com/file2.zip&amp;#34;; &amp;#160; try &amp;#123; // Check to see if urlfile1 exists HttpWebRequest myrequest = &amp;#40;HttpWebRequest&amp;#41;WebRequest.Create&amp;#40;urlfile1&amp;#41;; myrequest.Credentials = System.Net.CredentialCache.DefaultCredentials; HttpWebResponse response = &amp;#40;HttpWebResponse&amp;#41;myrequest.GetResponse&amp;#40;&amp;#41;; Console.WriteLine&amp;#40;urlfile1 + &amp;#34;Found&amp;#34;&amp;#41;; &amp;#125; catch &amp;#40;Exception ex&amp;#41; &amp;#123; // Check to see if urlfile2 exists [...]&lt;img src="http://feeds.feedburner.com/~r/w3mentor/~4/_QQMI54_2Mk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-network-programming/check-if-remote-files-exist-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://w3mentor.com/learn/asp-dot-net-c-sharp/c-network-programming/check-if-remote-files-exist-using-c/</feedburner:origLink></item>
	</channel>
</rss>

