Tuesday, November 24, 2015

C# STRING REPLACE CONCEPT

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication17
{
    class Program
    {
        static void Main(string[] args)
        {
            String input = "Google is good company";
            Console.WriteLine("Input Value = " + input);
            String output = input.Replace("good", "better");
            Console.WriteLine("After reaplce = " + output);
            Console.ReadKey();
        }
    }
}




No comments:

Post a Comment

Computer Network & Computer Features | Bal Varg | Computer Questions List!

  Computer Network & Computer Features 1) _______ is a thin strip like bar present at the bottom of the screen.   Taskbar 2) _______ ser...