what is meant inheritance. can you exaplain what kind
inhertance ussed in your project
Answer / amrish
Acquiring properties from parent class to child class.
in every form that we create inherits from predefined parent form.
Is This Answer Correct ? | 3 Yes | 0 No |
What does the initial catalog parameter define in the connection string?
What is difference between Method and function
How Global.asax is used ?
localization using windows c#
What is a property in c#?
Can we inherit an interface in an abstract class?
Is c# good for games?
What?s the advantage of using System.Text.StringBuilder over System.String?
Explain the difference between Response.Write () and Response.Output.Write ().
hi, I am a begineer to c sharp. I have written a code for finding out prime numbers. Can anyone identify what are the flaws in my code. Kindly donot complex the code or present logic because i am new to c sharp and just started learning programming language.Thanks in advance. class Program { static void Main(string[] args) { int a,b=1; a = int.Parse(Console.ReadLine()); c= int.Parse(Console.ReadLine()); if (a % b == 0 && a % 2 != 0 && a % a == 0) Console.WriteLine(a); else if (a % b == 0 && a % 2 == 0) Console.WriteLine(a%2); Console.WriteLine("Number is not PRIME"); Console.ReadLine(); } } }
How to raise an selection changed event associated with listbox in datagridview control with a sample example?Here the listbox is a child control associated with datagridview control.
Can you put two constructor with the same structure in a class?