Technology Guruu

  • Home
  • Site Info
    • About Us
    • Disclaimer
    • Privacy Polacy
  • Home
  • Digital Marketing
    • SEO
    • SMM
    • SEM
  • Quotes
  • Technical
  • Java
  • .Net
    • C#.Net
    • ASP.Net
  • Keychains

Wednesday, 13 April 2016

Top 2 Questions and Answers in Arrays

 Akansha     10:30:00     TechnicalQuestions     No comments   

Arrays are very helpful to storing multiple values at a time.we are done/write many typical logical programs through arrays easily.Normally we are not write the program for removing spaces in a given string and ',' in a string like that but through using arrays methods we are done easily in c#.net.

Questions and Answers

arrays

Q)How to remove the ',' in a given string?
class A
{
static void main()
{
String s="i,am,kasi";
Console.WriteLine(s);
s=s.Replace(',',',');
Console.WriteLine(s);
}
}
Output
I am Kasi
Q)Write a program to remove Spaces in a given string?
class A
{
static void main()
{
string s="i am kasi";
string[] s1=s.split('');
for(int i=0;i<=s1.length-1;i++)
{
Console.WriteLine(s1[i]);
}
Console.WriteLine();
}
}
Hi Friends You Like My Post Please Share To Your Friends Through Facebook,Twitter,Google+ etc and you feel free comment your answers also.
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook

Related Posts:

  • C#.Net Logical Questions And Answers Logical C#.Net Questions  logical questions 1.Write a console program to print the following pattern? 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2… Read More
  • Brief Introduction about C Detailed Explanation about C Language C programming language developed at AT&T’S Bell Laboratories of USA in 1972. It was designed & wr… Read More
  • Top 7 Simple Programs For New Learners who learn the C#.net this programs are helpful to Understand C#.net better. Simple Programs For New Learners programs 1. Write a console progra… Read More
  • Brief description about properties Properties in C#.Net Properties Property is a member of a class which we will use to assign the value to a variable as well as which we will u… Read More
  • Best and Simple Explanation about ado.net Introduction About ADO.Net Q)What is ADO.Net? A) ADO.Net is .Net Data access technology. Q)Why ADO.Net? A) To communicate database. Q)What … Read More
Newer Post Older Post Home

0 comments:

Post a Comment

Popular Posts

  • Love Failure Quotes and Sad valentines day Quotes
    We Love Someone is a easy process sometime takes long time to love someone love others within short period but anyway always love dependin...
  • Brief Description about Multicast Delegate
    Multicast delegate is an extension of normal delegate. It helps you to point more than one method at a single moment of time. Multicast ...
  • Top 10 valentine's day Quotes and Greetings wishes
    All Lovers have Anxiety in Valentines day because it is a festival to all lovers in these they enjoy a lot and celebrate the Valentine...
  • Missing My Friend Quotes : Friendship Day Quotes 2017
    Friends today my article about missing friends and moments with them. Here you are seen the best friendship quotes and some  feelings when...
  • Brief description about Delegates
    Introduction about delegates and why delegates are came the main purpose of delegates how to useful and what are the advantages and disadv...
  • Wonderful sayings about Life.
    I Believe Follow  Things(Life Quotes) I Believe I believe: ********** Believe in Life ********** That we don't have to chan...
  • Top 10 Words Of Encouragement and encouraging quotes
    Friends when you are depression mood everyone have some encouragement words that gives boost strength for You i feel these quotes helpful ...
  • Na Tanu Samjhawan Ki Song lyrics
    Na Tanu Samjhawan Ki Song Lyrics With English Translation Movie : Humpty Sharma ki Dulhaniya Song : Samjhawan Song Singer : Arijit ...
  • swami vivekananda best motivational Quotes
    Some Peoples are always have a negative thinking & bad mood their heart always filled with sadness & they are in depression mood.e...
  • Detail Introduction about C#.Net
    Brief Introduction about C#.Net  Introduction C#.Net is the one of the Programming Language the .Net Framework also contains ano...

Categories

  • Entertainment (67)
  • TechnicalQuestions (58)
  • Quotes (11)
  • C#.Net (8)
  • Java (8)
  • ValentinesDay (4)
  • SEO (3)
  • Home
  • About Us
  • Disclaimer
  • Privacy Policy
  • Sitemap

Copyright © 2015-2017 Good Friends 5.All Rights Reserved• And Our Sitemap • All Logos and Trademark Belongs To Their Respective Owners•