Hello
Learner
Login
|
Register
|
Forgot password
Home
Articles
Interview QA
Snippets
Tips
News
My Mirror
Publish Article
|
Post Interview QA
|
Submit Snippet
|
Article List
|
Interview QA List
|
Snippets
Stats
Total Count
:
40
Snippet Categories
.NET Framework
ADO.NET
AJAX
ASP.NET
C#
CSS
HTML
JavaScript & Jquery
LINQ
Microsoft Azure
Others
Practices, Patterns & Arch
Remoting & Web services
Sharepoint
Silverlight
VB.NET
Visual Studio
WCF
Windows Forms
WPF
WWF
XML & XSLT
Snippets
Submit Snippet
How do you reverse a number in C# for loop?
In this snippet, we will write a program that reverses an array using for loop in c#.
By:
Ashok Nalam
|
18 Jan 2021
|
C#
|
Views:
1148
|
Comments:
0
|
Tags:
array
C#
for-loop
reverse
Reverse array without using in-built function in C#.NET
In this snippet we will write a program which reverses an array with out using any in-built C#.NET function. Basically it shifts all elements from an array from left side to right side.
By:
Ashok Nalam
|
20 Dec 2019
|
C#
|
Views:
5532
|
Comments:
0
|
Tags:
array
C#
reverse
sorting
C#.NET Program to read a 4-digit integer and output the sum of its digits
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:
49029
|
Comments:
0
|
Tags:
.NET
number
C#.NET string palindrome program without using string functions
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:
14980
|
Comments:
0
|
Tags:
.NET
palindrome
string
Programatically save an image/resource from a Web URL using C# and VB.NET
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:
86709
|
Comments:
0
|
Tags:
.NET
ASP.NET
C#
VB.NET
C#.NET : DateTime.Now Month output format
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:
87743
|
Comments:
0
|
Tags:
.NET
datetime
number
.NET program to convert list string to comma separated string
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:
9725
|
Comments:
0
|
Tags:
list
string
Program to print rectangle with stars using C#.NET
The Program to prints rectangle with stars using C#.NET.
By:
Ashok Nalam
|
23 Dec 2013
|
C#
|
Views:
17768
|
Comments:
0
|
Tags:
.NET
number
C#.NET program to find the sum of odd-positioned digits and even-positioned digits of a given number
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:
11743
|
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
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:
4734
|
Comments:
0
|
Tags:
.NET
number
1
2
3
4