Home » Tutorials » Archive by categoryC# (Page 6)

Send email from asp.net

Send email from asp.net:  If one want to send email from website using code, one can send using bellow sample code, this is only possible with SMTP(Simple Mail Transfer Protocol).  We need to add name space System.Web.Mail as shown in sample code [crayon-5c6aa395836ad179210697/]  
Continue reading

Difference between ref and out parameters in C#

Ref vs Out
Difference between ref and out parameters Till now we have discussed regarding Difference between Var and Dynamic in c#, Difference between Hashtable and Dictionary , Scheduler for multiple instances in C#, Constant vs ReadOnly in C# etc. Today we will discuss regarding Difference between ref and out parameters in C# with example and also...
Continue reading

Sorting DataList in asp.net

Hello Folks, I was wondered while searching for content that how to do sorting in datalist, but didn’t get any useful content. Finally i end up on searching and started thinking that how i will do it than idea strikes my mind and succeed in that. So i...
Continue reading

C# Keywords

C# Keywords abstract as base bool break byte case catch char checked class const continue decimal default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in in (generic modifier) int interface internal is lock long namespace new null object...
Continue reading

Difference between & and && ,| and ||

Hello techno thirsty guys, there is a simple logic behind the & and && , | and ||. Single & and | are the Bit-wise operators while && and || are the Logical operators, which distinguish both of them from each other.Let us look into the examples.  Difference...
Continue reading

Abstract keyword in C#

Abstract keyword in C#
Hello technology thirsty guys, I was thinking why not I should pick the basics and the main pillar of C #and OOPs , which is C# keywords.  So I would like to first picked Abstract Keyword in C#. Let us look into deeply in Abstract Keyword in C#....
Continue reading

array to xml asp.net

With the help of XmlSerializer we can convert the list of C# objects to XML document. Below is the example of converting your array list to XML. First of all we need to add below two namespaces to the page. using System.Xml.Serialization; using System.IO; The second step is to prepare...
Continue reading




DISCLAIMER:
The content is copyrighted to technothirsty.com and may not be reproduced on other websites without permission from the owner.You may contact us using the information below.