can you create a function in c# which can accept varying number of arguments
No Answer is Posted For this Question
Be the First to Post Answer
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.....
Can you prevent your class from being inherited and becoming a base class for some other classes?
What is GAC?
What do you know about WM_CHAR message?
What is the default value of string in c#?
What is the components of window?
What is difference between asp net and c# net?
When you inherit a protected class-level variable, who is it available to?
How can you set image source dynamically from c# application to ”test.png” file?
List some Advantages of switch-case over if else?
In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList<string, AddInProject> m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList<string, AddInProject>(); } } }
Write a program in c# to find the angle between the hours and minutes in a clock?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)