<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>MsDotNetMentor &#187; CSharp</title>
	<atom:link href="http://www.msdotnetmentor.com/category/csharp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.msdotnetmentor.com</link>
	<description>Knowing Is Not Enough We Must Apply</description>
	<lastBuildDate>Wed, 26 May 2010 12:01:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Read Comments from file using C#</title>
		<link>http://www.msdotnetmentor.com/csharp/how-to-read-comments-from-file-using-c.html</link>
		<comments>http://www.msdotnetmentor.com/csharp/how-to-read-comments-from-file-using-c.html#comments</comments>
		<pubDate>Sat, 11 Jul 2009 19:32:09 +0000</pubDate>
		<dc:creator>Gaurav Arora</dc:creator>
				<category><![CDATA[CSharp]]></category>

		<guid isPermaLink="false">http://www.msdotnetmentor.com/?p=579</guid>
		<description><![CDATA[I have asked the same question from one of my readers with the following scenario:
Sir,
I am creating a console application in which I need to get comments from a text file and display in a group of SingLine Comments and MultiLine Comments.
The following code snippet described the whole solution by-itself:
#region Author initials
/* How to get comments from
* a text file
* Author : Gaurav Arora
* Date : July 12, 2009
* Series: A Step Ahead Series*/
#endregion
#region Namespaces Used
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
#endregion
namespace ReadingCommetFile.AstepAheadSeries
{
#region Class displaying Comments
class Program
{
static void Main(string[] args)
{
//Set the ...


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.msdotnetmentor.com/csharp/how-to-read-comments-from-file-using-c.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating Thumbnail Images in C#</title>
		<link>http://www.msdotnetmentor.com/aspdotnet/creating-thumbnail-images-in-c.html</link>
		<comments>http://www.msdotnetmentor.com/aspdotnet/creating-thumbnail-images-in-c.html#comments</comments>
		<pubDate>Mon, 06 Jul 2009 07:39:57 +0000</pubDate>
		<dc:creator>Anil pandey</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[CSharp]]></category>

		<guid isPermaLink="false">http://www.msdotnetmentor.com/?p=575</guid>
		<description><![CDATA[Hi All,
The image processing is a very typical task, but still it is simple to do. There are application where we need to create the thumbnail of the uploaded images, at that time we need to resize the image. here is the sample code through which we can resize the image easily..
We just need to use the 2-3 main name spaces that are
1. System.Drawing
2. System.Drawing.Imaging
3. System.Drawing.Drawing2D
with the use of these name spaces we can do our task. i have made a function by which we can create the thumbnail of ...


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.msdotnetmentor.com/aspdotnet/creating-thumbnail-images-in-c.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Empty Recycle Bin</title>
		<link>http://www.msdotnetmentor.com/csharp/empty-recycle-bin.html</link>
		<comments>http://www.msdotnetmentor.com/csharp/empty-recycle-bin.html#comments</comments>
		<pubDate>Sun, 28 Jun 2009 08:10:36 +0000</pubDate>
		<dc:creator>Meetu Choudhary</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Empty recycle bin]]></category>
		<category><![CDATA[Meetu]]></category>
		<category><![CDATA[meetu choudhary]]></category>
		<category><![CDATA[meetuchoudhary]]></category>

		<guid isPermaLink="false">http://www.msdotnetmentor.com/?p=548</guid>
		<description><![CDATA[Empty the Recycle Bin
 
Ths following code is used to empty the recycle bin using Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
The namespace we have to use is:
using System.Runtime.InteropServices;

then create an enum for recylceflags like

enum RecycleFlgs : uint
{
   SHERB_NOCONFIRMATION = 0x00000001,
   SHERB_NOPROGRESSUI   = 0x00000002,
   SHERB_NOSOUND        = 0x00000004
}

creating an extern

[DllImport("Shell32.dll", CharSet = CharSet.Unicode)]
static extern uint EmptyRecycleBin
        (IntPtr hwnd,
     ...


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.msdotnetmentor.com/csharp/empty-recycle-bin.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sorting an array in c#</title>
		<link>http://www.msdotnetmentor.com/csharp/sorting-an-array-in-c.html</link>
		<comments>http://www.msdotnetmentor.com/csharp/sorting-an-array-in-c.html#comments</comments>
		<pubDate>Fri, 26 Jun 2009 06:22:47 +0000</pubDate>
		<dc:creator>Anil pandey</dc:creator>
				<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Anil Kumar Pandey]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[gaurav arora]]></category>
		<category><![CDATA[meetu choudhary]]></category>
		<category><![CDATA[msdotnetheaven.com]]></category>
		<category><![CDATA[msdotnetmentor.code]]></category>
		<category><![CDATA[Sorting an array]]></category>

		<guid isPermaLink="false">http://www.msdotnetmentor.com/?p=543</guid>
		<description><![CDATA[using System;
class SortReverse
{
public static void Main()
{
int[] x={30,10,80,90,20};
Console.WriteLine(&#8220;Array Before Sorting&#8221;);
foreach(int i in x)
Console.Write(&#8221; &#8220;+i);
Console.WriteLine();
Array.Sort(x);
Console.WriteLine(&#8220;Array After Sorting&#8221;);
foreach(int i in x)
Console.Write(&#8221; &#8220;+i);
Console.WriteLine();
Array.Reverse(x);
Console.WriteLine(&#8220;Array After Reversing&#8221;);
foreach(int i in x)
Console.Write(&#8221; &#8220;+i);
Console.WriteLine();
}
}
Hi,
Here  is a simple way to sort an array.  We can use the Array.Sort() function  for applying the sorting. Here I am going to display a short code snippet for your use. Try and and post your comments here. If any suggestions or need some clarifications
using System;

 class SortReverse
{
public static void Main()
{
int[] x={30,10,80,90,20};
 
Console.WriteLine("Array Before Sorting");
foreach(int i in x)
Console.Write(" "+i);
Console.WriteLine();


Array.Sort(x);
 
Console.WriteLine("Array After Sorting");
foreach(int ...


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.msdotnetmentor.com/csharp/sorting-an-array-in-c.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Sending Email Through ASP.NET using C#</title>
		<link>http://www.msdotnetmentor.com/csharp/sending-email-through-aspnet-using-c.html</link>
		<comments>http://www.msdotnetmentor.com/csharp/sending-email-through-aspnet-using-c.html#comments</comments>
		<pubDate>Thu, 11 Jun 2009 17:38:08 +0000</pubDate>
		<dc:creator>Meetu Choudhary</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[CSharp]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[can't send email]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[how can i send a email]]></category>
		<category><![CDATA[how can i send email]]></category>
		<category><![CDATA[how to send email]]></category>
		<category><![CDATA[how to send html email]]></category>
		<category><![CDATA[Meetu]]></category>
		<category><![CDATA[meetu choudhary]]></category>
		<category><![CDATA[meetuchoudhary]]></category>
		<category><![CDATA[MsDotnetMentor]]></category>
		<category><![CDATA[send email]]></category>
		<category><![CDATA[send mail using c#]]></category>

		<guid isPermaLink="false">http://www.msdotnetheaven.com/?p=480</guid>
		<description><![CDATA[Sending Email Through ASP.NET using C#
The following Sample Code is the code which can be used to send mails through ASP.Net C#&#8230;. its a working code for me&#8230;..

&#60;pre&#62;using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.
WebParts;
using System.Web.UI.HtmlControls;
using System.Net.Mail;
public partial class Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
//Calling the function SendMail
      Response.Write( SendMail("meetuchoudhary@gmail.com","meetudmeet@gmail.com","meetudmeet@yahoo.com","Test Mail","Test Mail Body"));
    ...


Related posts:<ol><li><a href='http://www.msdotnetmentor.com/aspdotnet/sending-mails-with-attachments-using-gmail.html' rel='bookmark' title='Permanent Link: Sending Mails with attachments using Gmail'>Sending Mails with attachments using Gmail</a> <small> Tweet This Post...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
		<wfw:commentRss>http://www.msdotnetmentor.com/csharp/sending-email-through-aspnet-using-c.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
