Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Counting Number of Words in a String - C# Program
Anyone can suggest me the output of the following program.
using System;
class CountWords
{
public static void Main()
string s = ""; // Declare 's' of string type
Console.Write("Enter the string : ");
S = Console.ReadLine(); // Read string from the console & save in 's'
string [] words = s.Split(null);
// 'words' is an array of string type
// string 's' will split when a space (null) is encountered
// This will be saved into array words
int i = words.Length; // Just count the lenght of array 'words'
Console.WriteLine("The total number of words in the entered string : "+i);
Console.ReadLine();
}
why datagrid are used in dot net programming langugage
im retrieving the path of image from the database i want to get the image in that path to be displayed in my datagridviewvolumn
List the new features added in .NET Framework 4.0. The following are the latest features of .NET Framework 4.0: Improved Application Compatibility and Deployment Support
Web Developer Project Description: We are in need of an expert web developer for long term connection; please apply with samples if you have the subsequent skills: ASP.NET
What are types of compatibility in VB6 There are three possible project compatibility settings: No Compatibility Project Compatibility Binary Compatibility
How many types of assemblies are there? Private, Public/Shared, Satellite. A private assembly is normally used by a one application, and is stored in the application's director
What is Microsoft Intermediate Language (MSIL)? The .NET Framework is shipped with compilers of all .NET programming languages to develop programs. There are separate compilers
Explain different types of XML Application Programming Interface (API). The following are two main parts of XML parsers: Tree-based API - Compiles an XML document into a tre
Project Description: Legacy ASP.NET application for managing tasks for a private client needs a complete re-write. The application has approximately 2500 lines of code, combi
Project Description: We want to prepare a package forwarding website. Package forwarding refers to a service where US forwarder provides International shoppers with a US address
This a very easy example... the output is: Enter the string : Daljit is making programs The total number of words in the entered string : 4
This a very easy example... the output is:
Enter the string : Daljit is making programs The total number of words in the entered string : 4
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd