DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   
Stats
Total Count : 59
Snippets Submit Snippet  
 
Resolve "Redundant Hostnames" issue using ASP.NET
Ashok Nalam
This snippet show how to resolve "Redundant Hostnames" issue using ASP.NET.
By: Ashok Nalam | 19 Sep 2015 | ASP.NET | Views: 2298 | Comments: 0 | Tags:ASP.NET  error  global.asax 
C#.NET Program to read a 4-digit integer and output the sum of its digits
Ashok Nalam
In this snippet we will write C#.NET program to read a four digit integer and output the sum of its digits. Example: If user enters number as 1234 then the output will be 1+2+3+4=9.
By: Ashok Nalam | 16 Mar 2015 | C# | Views: 3748 | Comments: 0 | Tags:.NET  number 
C#.NET string palindrome program without using string functions
Ashok Nalam
In this snippet we will write a program to check whether the given string is palindrome string or not with out using any built-in string function.
By: Ashok Nalam | 15 Mar 2015 | C# | Views: 7456 | Comments: 0 | Tags:.NET  palindrome  string 
Programatically save an image/resource from a Web URL using C# and VB.NET
Ashok Nalam
The snippet shows how to copy image from web URL to local machine using WebClient.DownloadFile method with C# and VB.NET examples.
By: Ashok Nalam | 17 Apr 2014 | C# | Views: 11765 | Comments: 30 | Tags:.NET  ASP.NET  C#  VB.NET 
Program to remove duplicate values from a generic list using C# and VB.NET
Ashok Nalam
This snippet shows how to remove duplicate values from a generic list.
By: Ashok Nalam | 14 Apr 2014 | LINQ | Views: 4516 | Comments: 0 | Tags:C#  enumerable  generics  linq  list  VB.NET 
.NET program to convert array of integers into comma separated string
Ashok Nalam
This program shows how to convert array of Integers into comma separated string using C#.NET and VB.NET examples.
By: Ashok Nalam | 11 Apr 2014 | VB.NET | Views: 2091 | Comments: 0 | Tags:array  C#  string  VB.NET 
.NET - Save image from one folder to another folder
Ashok Nalam
Sometimes we need to copy an image from one folder to another folder. The snippet shows how to copy file using System.IO.File.Copy for ASP.NET, Console and Windows Application.
By: Ashok Nalam | 24 Mar 2014 | ASP.NET | Views: 4179 | Comments: 0 | Tags:ASP.NET  C#  file 
C#.NET : DateTime.Now Month output format
Ashok Nalam
The snippet shows how to print double digit number for DateTime.Now.Month and also different .ToString() formats supported by month.
By: Ashok Nalam | 11 Mar 2014 | C# | Views: 4765 | Comments: 24 | Tags:.NET  datetime  number 
.NET program to convert list string to comma separated string
Ashok Nalam
The snippet shows how to convert list of string values to comma separated string values in quicker way using String.Join method.
By: Ashok Nalam | 29 Jan 2014 | C# | Views: 3288 | Comments: 0 | Tags:list  string 
WPF Multiline Textbox Example
Ashok Nalam
This snippet shows how to create WPF multiline textbox
By: Ashok Nalam | 17 Jan 2014 | WPF | Views: 4795 | Comments: 0 | Tags:textbox 
123456