Learn how to provide necessary information to the users and hide the unnecessary details using C# programs. The concept of “providing necessary details to the clients/users and hiding the unnecessary details” is called Abstraction. As an example consider a login page where username and password is enough for the users. so, only username and password … Read more How to achieve abstraction in C# -oops
Answer includes concept of encapsulation in C# oops with various C# encapsulation examples with programs. Answer:Encapsulation in C# is one of the oops principles that is used for hiding complexities in programs. NOTE: Many candidates answer to this interview question “What is encapsulation in C#” like wrapping the class member fields into a method as … Read more What is Encapsulation in C# – Best Answer
Learn about NULL value and an empty string behavior in oracle database with example queries. NULL means no-value(nothing). An empty string(”) treated as NULL value Let’s create a table suppliers_tbl with the following table definition. Next, we’ll insert following records into this table. The first statement inserts a record with a supplier_name that is null, … Read more NULL vs Empty string in oracle
C# exercises on constructor with solutions. EXERCISE-1: Answer the following questions in brief. When a class constructor gets called? If you create 5 objects of a class, then how many time constructors will be called? When you write a constructor, what return type do you write in constructor declaration? Why do you use constructor? EXERCISE-2: … Read more C# Exercise – On Constructor with Solution
Learn how an ArrayList can be shared between different classes in a C# program. In other words, how to pass Arraylist from one class to another in C#. We’ll create an ArrayList in the main() method and will share it to the two different classes i.e. the Read and the Write class. The Write class … Read more Share ArrayList Between Classes in c# with Code
How to compare two arrays in C# if they are equal or not using 2 methods with code example. By Comparing each corresponding element of both the arrays. Using SequenceEqual() method. Two arrays will be called equal if both the arrays have same corresponding elements and same number of elements. Comparing each element of both … Read more How to compare two arrays in C# if they are Equal or Not.
Below are the programs to expect the output by examining the code. Program 1 can we call methods and members from Class B for the below code ? Output Answer includes : No, we will not able to call any private ,protected, Public data members or functions from the class B Program 2 what is … Read more C# program interview question for practice
Learn the about the logical columns that are not exist in the table, but how can be used to select the data from the table, with explanation and example queries. Rowid, Rownum are the Pseudo columns in oracle used to select the data from tables. Rowid ROWID is a pseudo column in a table which … Read more Rowid vs Rownum vs Row_Number() in oracle.
Learn about the logical columns that exists in oracle database with example queries. Pseudo columns are nothing but logical columns which behaves like a physical columns in database. Means Pseudo columns behaves like a table columns but is not actually stored in the table. You can select from pseudo-columns, but you cannot insert, update, or … Read more Pseudo columns in Oracle
Answer: No For detailed information Please click on the below link. Show C# Static and Instance methods call with simple program