Monday, April 20, 2020

Explain Advantages of ADO.Net?

Explain  Advantages of ADO.Net?

Answer:-

ADO.Net stands for Active Data Object we can use it for performing the simple process for inter connectivity between front end and back end.

Advantages of ADO.Net


  1. Scalability:- this is an important term which is used to provide garbage collection services and also it work for element and remove unwanted information.                                                                                                                                                                                                
  2. Data Source Independent:- in ADO.Net several independent resources are used so that's why there is simple services for working with data source independently.                                                                                                                                                            
  3. Interoperability:- In ADO.Net there is advance facility for net interconnection between web based format that means web applications are also develop in ADO,Net technology.                                                                                                                        
  4. Platform Independent :- It is the platform independently therefore it give services to do any operating system platform like Windows, Linux, mac etc.                                                                                                                                                             
  5. High Performance :- ADO.Net technology is high performance technology we can use it for specify high performance during database interaction.                                                                                                                                                   
  6. Firewalls:- ADO.Net work with high quality for firewalls systems that means there is simple process for managing the data from external users or invalid users.                                                                                                                                                   
  7. Productivity:- In ADO.Net the  main advantage is productivity it work for about properly and handle the records with productivity services that means new records can be added as well as old records can be deleted.  

Explain OUT Parameters In detail ?

Explain OUT Parameters In detail ?

ans:-

Out parameters are those special parameters in C#, we can use it for create reference parameter so all the changes or modifications can automatically updated in original variable.
      out parameters are declared by out keyword. whenever out keyword apply to the parameter then automatically results receive by that parameters 

  1. the parameters are not allow to use in asynchronous methods.
  2. the out parameters are not allowed to use in iterator methods.
  3. there can be more than one out parameters in a method.
  4. method overloading can also be done using out parameters.

  • Example 

       using system;
       class GFG;
static public void main ()
{
int i ;
addition (out i);
console.written( "the addition of the value i :{0}", i );
}
public static void addition ( out int i )
{
i=30;
i+=i;
}
}

O/P :-

the addition of the value is 60

Explain Important Classes used in Windows ?

Explain Important Classes used in Windows ?

 Answer:-     

         In C# Programming for developing the windows application there are several pre-define  classes, these pre-define classes are the part of windows framework.
       .net provide set of library classes which are called as system classes.


  • following are the classes used in windows.
  1. Input/ Output Class:-
          in C# programming I/O classes are used to represent all system I/O operations by using several  methods.
      
     2. String Handling Class:-
          this class are used for performing the string operation like compare, concat, copy, as well as length these all methods are present in class 
    3. Array-list Class:-
        Array-list class is used to perform all array operations such as clear, insert, sort, reverse, copy this all are the array operations can be perform in C#.

   4. Drawing Class:-
       Drawing class is used in C# program for working with some drawing operations such as like line, rectangle, circle.

    5.Security Class:-
       security classes are used to provide security to the member of the form by including several                 components like excepections  handler, I/O controller and data Safety.

   6. Database Class:-
       these are include by using system database it work about all the database connectivity process like add new record, delete record and modify record.

   7. Registry Class:-
       it is compulsory for every windows application because after drag and drop any control. its compulsory to make registry every control in our application.

   8. Mathematical Class:-
       this class are used in C# windows project for performing the mathmatical functions like Sin, Cos,  Tang and Log etc.

       Above all are the windows classes in  C# for make interaction with C# project.