DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   
Stats
Total Count : 45
Resources Publish New Article  
 
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: 3599 | 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: 7043 | Comments: 0 | Tags:.NET  palindrome  string 
C# 6.0 : Use static class reference in "Using" statement
Ashok Nalam
By: Ashok Nalam | 25 Nov 2014 | C# | Views: 2717 | Comments: 2 | Tags:.NET  C# 6.0  static  using  visual studio 2015 
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: 11099 | Comments: 29 | Tags:.NET  ASP.NET  C#  VB.NET 
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: 4293 | 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: 3118 | Comments: 0 | Tags:list  string 
Program to print rectangle with stars using C#.NET
Ashok Nalam
The Program to prints rectangle with stars using C#.NET.
By: Ashok Nalam | 23 Dec 2013 | C# | Views: 7442 | Comments: 0 | Tags:.NET  number 
C#.NET program to find the sum of odd-positioned digits and even-positioned digits of a given number
Ashok Nalam
The program finds the sum of odd-positioned digits and even-positioned digits of a given number using C#.NET example.
By: Ashok Nalam | 19 Dec 2013 | C# | Views: 5649 | Comments: 0 | Tags:.NET  number 
write a .NET program to find the sum of odd-positioned digits and even-positioned digits of a given number
Ashok Nalam
The program finds the sum of odd-positioned digits and even-positioned digits of a given number using C#.NET example.
By: Ashok Nalam | 18 Dec 2013 | C# | Views: 2936 | Comments: 0 | Tags:.NET  number 
read int value from enum - C#.NET Example
Ashok Nalam
The snippet shows how to read enum value using casting, Enum.Parse and Extension method.
By: Ashok Nalam | 16 Dec 2013 | C# | Views: 2767 | Comments: 0 | Tags:.NET  casting  enum  extension-methods  parsing 
12345