ALLInterview.com :: 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                      
Google
   
 


 

  Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z
 
Search Company Name ::   
 
Company >> HCL >> Interview Questions >> C Sharp Interview Questions
 
HCL Interview Questions by Category

 
  Question   also Asked @ Answers Views     select
 
What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!    1  927
why we can't create an object for a static class?? what is the reason behind this?    4  1551
class Program { void add() { int x=10, y=20; fun(); Console.WriteLine("{0}", sum); } void fun() { int sum; sum = x + y; } static void Main(string[] args) { Program f =new Program(); f.add(); } } Debug above program.....    3  721
There are a class A. Another class B derived from it. Now if I do A a = new B(); and B b = new B(); What will happen in both the statements. And what is the difference between these two statements.    3  1451
What is Bubble Event ?    2  1674
what is Diff Gram Nippon Data Solution  2  1113
what is the fastest way to concatenate strings in c sharp? HCL  4  2093
What is type casting. Explain it with reference to classes. Hcl  1  1865
Can we inherit an interface in an abstract class?    6  2439
Write a functin to add two no. Both no can be int, float.    3  1025
What is scavenging?    2  1317
explain the nature of the assembly work?    0  248
Why do we need interfaces?    2  2187
1) how to delete duplicate records from table in sql server 2005 2) what is run time polymorphism L Hcl  4  2877
C# Code for How to set readonly property to Id(database) value? Hcl  2  3243
E-Mail New Answers        Answer Selected Questions       
Post New HCL Interview Questions C Sharp
 
 [1]   2    Next
 
 
 
 
 


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

ALLInterview.com   ::  KalAajKal.com  
Took:-0.54374 seconds