what is properties in C# ,how to use properties in C#

Properties are an extension of fields and are accessed using the same syntax. They use accessors through which the values of the private fields can be read, written or manipulated. Using Properties: Properties combine aspects of both fields and methods. To the user of an object, a property appears to be a field, accessing the property requires the same syntax. To the implementer of a class, a property is one or two code blocks, representing a get accessor and/or a set accessor.

answered 24 Jun by Roshan333 c# 2 Answer(s) June 25, 2017

List out the predefined classes in PHP?

Classes in PHP: Standard Defined Classes 1. Directory 2. stdClass 3. _PHP_Incomplete_Class Predefined classes as of PHP 1. php_user_filter Special Classes 1. self 2. parent

answered 24 Jun by rohith3309 php 2 Answer(s) June 25, 2017

Differentiate between FLOAT and DOUBLE?

float is represented in 32 bits, with 1 sign bit, 8 bits of exponent, and 23 bits of the significand (or what follows from a scientific-notation number: 2.33728*1012; 33728 is the significand). double is represented in 64 bits, with 1 sign bit, 11 bits of exponent, and 52 bits of significand.

answered 23 Jun by muneshs16 mysql 2 Answer(s) June 24, 2017

what is authentication and authorization?

Authentication: Authentication is the process of verifying the identity of a user by obtaining some sort of credentials and using those credentials to verify the user's identity. Authorization: Authorization is the process of allowing an authenticated users to access the resources by checking whether the user has access rights to the system.

answered 23 Jun by rohith3309 cloud computing 2 Answer(s) June 24, 2017

What is application configuration resource file?

avaServer Faces technology provides a portable configuration format (as an XML document) for configuring resources. An application architect creates one or more files, called application configuration resource files, that use this format to register and configure objects and to define navigation rules. An application configuration resource file ... The application configuration resource file must be valid against the schema located at http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd.

answered 21 Jun by muneshs16 java, j2ee 2 Answer(s) June 22, 2017

What do you use computed fields for?

Computed Field is a module that lets you add a computed field to custom content types. You can choose whether to store your computed field in the database, or simply have it calculated upon view. You can also choose whether to display the field, and how to format it. The value of the field is set using PHP code so it can draw on anything available to Drupal, including other fields, the current user, database tables, etc. The drawback of this is of course that you must be PHP-savvy to use it.

answered 20 Jun by muneshs16 power builder 2 Answer(s) June 21, 2017

What type of headers that PHP supports?

The header() function sends a raw HTTP header to a client. It is important to notice that header() must be called before any actual output is sent (In PHP 4 and later, you can use output buffering to solve this problem): <html> <?php // This results in an error. // The output above is before the header() call header('Location'); ?> Syntax header(string,replace,http_response_code)

answered 19 Jun by muneshs16 php 2 Answer(s) June 20, 2017

What's the difference between include and require?

If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.

answered 18 Jun by Govind123 php 1 Answer(s) June 19, 2017

What are the different models for deployment in cloud computing?

Public cloud: It is a type of cloud hosting in which the cloud services are delivered over a network which is open for public usage. This model is a true representation of cloud hosting; in this the service provider renders services and infrastructure to various clients. Private Cloud: is also known as internal cloud; ... e. banks and trading firms. It is a multi-tenant setup that is shared among several organisations that belong to a specific group which has similar computing apprehensions.

answered 22 Jun by Roshan333 cloud computing 2 Answer(s) June 23, 2017

use of Analytics With BDA

Big data analytics is the process of examining large and varied data sets -- i.e., big data -- to uncover hidden patterns, unknown correlations, market trends, customer preferences and other useful information that can help organizations make more-informed business decisions.

answered 18 Jun by muneshs16 big data 2 Answer(s) June 19, 2017

What is COALESCE in SQL Server?

COALESCE is used to return first non-null expression within the arguments. This function is used to return a non-null from more than one column in the arguments. Example – Select COALESCE(empno, empname, salary) from employee;

answered 16 Jun by muneshs16 sqlserver 3 Answer(s) June 17, 2017

What is CHECK constraint?

A CHECK constraint can be applied to a column in a table to limit the values that can be placed in a column. Check constraint is to enforce integrity.

answered 15 Jun by LogenRahul sqlserver 3 Answer(s) June 16, 2017

How exceptions can be handled in SQL Server Programming?

To handle exceptions in SQL server we can use TRY…… CATCH blocks. To use TRY…… CATCH blocks in stored procedure we need to write the query like as shown below BEGIN TRY ---Write Your Code END TRY BEGIN CATCH ---Write Code to handle errors END CATCH

answered 17 Jun by Roshan333 sqlserver 2 Answer(s) June 18, 2017

Can I use malloc function of C language to allocate dynamic memory in C++?

yes you can use #include <stdio.h> #include <string.h> #include <stdlib.h> int main() { char *mem_allocation; /* memory is allocated dynamically */ mem_allocation = malloc( 20 * sizeof(char) ); if( mem_allocation== NULL ) { printf("Couldn't able to allocate requested memory\n"); ... ( mem_allocation,"fresh2refresh.com"); } printf("Dynamically allocated memory content : " \ "%s\n", mem_allocation ); free(mem_allocation);

answered 16 Jun by Govind123 c++ 2 Answer(s) June 17, 2017

Using temporary variable, write a program to swap 2 numbers

#include <stdio.h> #include<conio.h> int main() { int x, y, temp; printf("Enter the value of x and y\n"); scanf("%d%d", &x, &y); printf("Before Swapping\nx = %d\ny = %d\n",x,y); temp = x; x = y; y = temp; printf("After Swapping\nx = %d\ny = %d\n",x,y); return 0; }

answered 15 Jun by Roshan333 c 1 Answer(s) June 16, 2017