Dot Net Code Interview Questions
Questions Answers Views Company eMail

Write a program. there are 1..n numbers placed in an array in random fashion with one integer missing. find the missing number.

Infosys, Mind Tree,

1 5572

Write a program to convert postfix expression to infix expression.

Mind Tree,

4086

Write a program to count 3Letter, 4Letter and 5Letter words from a file and print the number of 3Letter, 4Letter and 5Letter words. Delimiter is space, tab, hifen. Also we should not consider the line in the file after we encounter # in that line.

Mind Tree,

7476

Write a program to count the number of characters, number of words, number of line in file.

Mind Tree,

2 11752

Write a program to input an integer and - display the reverse - display the sum of each digit - should include logic that considers the input number as any number of digits long

Mind Tree,

2 12735

write a Program to copy the string using switch case.

Mind Tree, Wipro,

3419

c# coding for a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors not using the Big-integer and Exponential Function's.

TCS,

1 6007

i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this

Crompton Greaves,

2117

how to change password in .net with c # with ado.net and also SQL server 2008 change password

1 7378

how can i split sting in textbox in windows application using c# .net

2 11549

. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $

3 7568

How to find No of classes,Packages,No of Methods per Classes and Depth of Inheritance for selecting source code in windows form application using c# .net? (Source code is input Program. It may be Java or .net) Please help me..) Thanks..)

2210

Hello Sir, Thanks for the Solution but, can you pls. Explain the coding for the Static Function & static variable from the below coding....waiting for Ans. class fact { public static void Main() { fact f=new fact(); int x=1; //Declaration of x as 1 int k=Convert.ToInt32(Console.ReadLine()); for(int i=1;i<=k;i++) { x= x *i; } System.Console.WriteLine(x); } }

2013

design a class car having variables model, yr_of_manufacture, owner,reg_no. Design methods for assigning the values, Printing the values( you decide gui,control, any other methods if require)

1816

where is assembly are store

C DAC,

5 7651


Un-Answered Questions { Dot Net Code }

How we work on N tire architecture in asp.net Please give me Examle...

16519


ArrayList declaration in .net

2725


design a class car having variables model, yr_of_manufacture, owner,reg_no. Design methods for assigning the values, Printing the values( you decide gui,control, any other methods if require)

1816


How to update and insert from datagridview at run time in excel database?

2738


Give the code for Handling Mouse Events?

1859






Code for Creating a Form Using PlaceHolder Controls?

2326


How to Bind Nested XML to a Repeater Control with Container.DataItem?

3190


Code for Presenting Parent/Child Data in a Data Grid Row?

2083


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

1924


Code for IP Address Comparison and Conversion in C#?

3971


how to insert fname,lname,designation values into database while click on the submit button using windows authentication mode?

2172


How to get Dynamically Linked Comboboxes Set?

2005


How to find No of classes,Packages,No of Methods per Classes and Depth of Inheritance for selecting source code in windows form application using c# .net? (Source code is input Program. It may be Java or .net) Please help me..) Thanks..)

2210


How to use Client-side Script to Focus Controls in ASP.NET?

2338


What is the code of Password Recovery or Forget your password? Plz tell in c # language.

3534