Write a program in C# for checking a given number is PRIME or not.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is difference between string and stringbuilder in c#?

0 Answers  


What?s the .NET datatype that allows the retrieval of data by a unique key?

3 Answers  


What is the difference between namespace and class in c#?

0 Answers  


Explain the process of Serialization?

0 Answers  


Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.

1 Answers  


Can you prevent a class from overriding?

3 Answers  


Can you inherit multiple interfaces?

7 Answers   Host4Big, Mind Tree, Moftak Solutions, Siebel Systems,


what are the bugs are faced in a project

3 Answers   Accenture,


how to retrive a TextBox value in to Sql database using C# windows form application coding

3 Answers  


What is marshalling in c#?

0 Answers  


I want to print "Hello" even before main() is executed. How will you achieve that?

0 Answers   DELL,


How to update the gui from another thread in c#?

0 Answers  


Categories