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
Maha
NA
0
324.7k
Why not compiling
Sep 7 2013 10:43 PM
It is
not
compiling
when data type in
foreach
is
string
. It is compiling when data type in
foreach
is
char
. Problem is highlighted.
using System;
class Program
{
static void Main(string[] args)
{
string checkStr = "Address";
foreach (
string
c in checkStr)
Console.Write(c);
Console.ReadKey();
}
}
Reply
Answers (
2
)
How to apply Licence key to application
how to create a horizontal scrollbar same in datagridview