Assume you have large set of data, say more than 100,000 elements. Each data element has a unique string associated with it. 1. What data structure has the optimal algorithmic access time to any element
What is wrong with the following C# code? It should take the given colors and subtract the given fadeValue and then print out the new faded values. Please copy and paste the code into your response and
Latest Answer: namespace PCD{ class MainClass { static void Main(string[] args) { int red=110; int green=220; int blue=230; getFadedColor(ref red, ref green, ref blue, 10); getFadedColor(ref red, ref green, ref blue, 20); Console.WriteLine("red: ...
Latest Answer: Fixed is used while doing type casting Fixed ensures that no exception will be thrown even if we are doing a wrong cast. ...
intushortdecimalenum
Latest Answer: sbyte(System.SByte)ushort(System.UInt16)uint(System.UInt32)ulong(System.UInt64)are non-cls compliant . ...
a)Instance equalsb)Static Equalsc)Instance referenceequalsd)Instance Gettype
Latest Answer: instance ReferenceEquals is not a memeber of Syste.Object.referenceEquals is static method of System.Object,so its not instance type in nature. ...
Latest Answer: we have abstarct class in c# which are working like virtual function.and if abstarct class containing all abstarct method thn that class will be equivalent to pure virtual function.......... ...
string.Equals("string number 1", "String NUMBER 1", StringComparison.CurrentCultureIgnoreCase) There is also a similar override of String.Compare().
Latest Answer: all things in above sample are right bt one correction is there.there should be OrdinalIgnoreCase instead of OriginalIgnoreCase.... ...
Latest Answer: tag.usage :/// /// string usage array class./// public class teststring{public string s; }when we create the object for teststring class or browse through the class explorer through intellisense we can see ...
This is interview question,public void A() { int x; x = 8; x *= 4 + 8 / 2; } Given the above code, what is the value of "x"?options:- A) 3 B) 2 C)4 D)
Latest Answer: Answer is 64 ...
what is the importance of inheritance in c# and why i used?
Latest Answer: basically the main advantage of object orineted approach is code reusabilty which help us to improve performance by using less memory for computation.inharitance provide us code reusabilty by accessing method of base class in the derived class instead ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top