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
taks kamps
NA
39
6.9k
getting a substring
Dec 8 2018 11:06 AM
coding i have done so far but not working
using System;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
string lyric = "Just a small town girl";
string firstFourCharacters, lastFourCharacters;
firstFourCharacters = lyric.IndexOf"just";
lastFourCharacters = lyric.Indexof"girl";
Console.WriteLine(firstFourCharacters + " " + lastFourCharacters);
}
}
}
Reply
Answers (
1
)
code not compiling, cant find the problem?
accessing values in an array