TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vasanth krishna
NA
44
56k
c# program
Aug 31 2013 8:19 AM
i had write program for reverse the substring in a given string ex:
I/P
tokona#%!
o/p
!%#tokona
i try this code.....
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication8
{
class Program
{
static void Main(string[] args)
{
string n = "tokonaA#*!";
Console.WriteLine("{0}",n);
int no=n.Length;
int c = 0;
char[] let = n.ToCharArray();
for (int j = no - 1; j >= 0; j--)
{
if (!char.IsLetter(let[j]))
{
Console.Write(let[j]);
}
else if(char.IsLetter(let[j]))
{
Console.Write(let[j]);
}
}
Console.Write("{0}",c);
Console.ReadLine();
}
}
}
but m not get the correct o/p..
so what change i want to do to get the correct o/p
Reply
Answers (
2
)
how to export datagridview to single excel sheet using c#?
Default access modifier