:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Code Snippets >> Programming Code >> Dot Net Code >> C Sharp Code


 ASP.NET Code interview questions  ASP.NET Code Interview Questions (46)
 VB.NET Code interview questions  VB.NET Code Interview Questions (9)
 C Sharp Code interview questions  C Sharp Code Interview Questions (50)
 ADO.NET Code interview questions  ADO.NET Code Interview Questions (8)
Write a program to count the number of characters, number of
words, number of line in file.
 Question Submitted By :: C-Sharp-Code
I also faced this Question!!     Answer Posted By  
# 1
File.ReadAllText("").Split(' ').Length - 1;
Is This Answer Correct ?    3 Yes 3 No
# 2
#include <stdio.h>

int i,j,n,c=0,b;
printf("enter the number to be checked\n");
printf("the given number is perfect number\n");
printf("the given number is not a perfect number\n");
Is This Answer Correct ?    5 Yes 11 No
Ashutosh Mishra

Other C Sharp Code Interview Questions
  Question Asked @ Answers
program to reverse the order of digits in a given number of any length. Mind-Tree 1
program to reverse the order of words in a string. Mind-Tree 2
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik Mind-Tree 1
program for string reverse(eg:- i am boy -> boy am i) Mind-Tree 8
How to Create Files by Using the FileInfo Class?   1
. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $   2
"c sharp" code for factorial using static variables   9
Code for Reading and writing from a file in c#?   1
how can i split sting in textbox in windows application using c# .net   2
how do i copy textbox contents of 1 form to another form Wipro 4
IS Array list is generic or non generic   1
how to get the table names via c sharp and column names also? Sify 2
For more C Sharp Code Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::