answersLogoWhite

0

C Sharp

C Sharp is a programming language developed by Microsoft Corporation. It is designed to be a simple, general-purpose, modern, object-oriented programming language. The latest version is C# 4.0. It is designed for developing applications for both embedded and hosted systems.

343 Questions

How to check LCD panel type?

Unless it is listed somewhere online, you basically have to take the set apart to get the model/part number from the panel and then Google search that to get a datasheet.

For instance my Vizio M260MV and the identical E260MV both use the Chi Mei Innolux V260H1-LE2 panel, which is a 1920x1080 TN type panel with a 6P13S white LED edge light system.

Panels are not universal, they must be matched to the controller. There is single and dual channel LVDS, 6 bit vs 8 bit, older uses TTL, they are resolution specific, and voltage specific (3.3, 5, ad 12 volts), Etc.

What are the difference between 0.2 and 0.2S class in metering CT?

The 0.2S class is more accurate in meter reading than the 0.2 class. The 0.2S class is now mandatory for all meter reading.

Wap to display the Fibonacci series?

#include<stdio.h>

main()

{

int a=0,b=1,n,c,i;

printf("enter number");

scanf("%d",&n);

printf("%d\n",a);

for(i=1;i<=n;i++)

{

c=a+b;

printf("%d\n",c);

b=a;

a=c;

}

getch();

}

How do you check the type of a variable in c?

The example below shows how to do it in C#.

using System;

namespace Type_check_for_vars

{

class Program

{

static void Main(string[] args)

{

object myVar = null;

myVar = (int) 10;

if (myVar is int)

{

Console.WriteLine("myVar is type of {0} and has value - {1}", myVar.GetType().ToString(), myVar);

}

myVar = (char)'a';

if (myVar is char)

{

Console.WriteLine("myVar is type of {0} and has value - {1}", myVar.GetType().ToString(), myVar);

}

Console.ReadLine();

}

}

}

What is the meaning of dot in dot net?

How the Microsoft .Net ?Name has come? Is there any reason dot before Net? for example Java having some history behind name so like wise is there any reason putname like .net
Hi,
I want to know the meaning of dot in .NET. But NET means NETWORK ENABLED TECHNOLOGIES. I came to know there was meaning for dot. Iam very excited to know the meaning of dot as soon as possible.

P.MANOHAR

Can the primitive type and reference type be used together in the same array or program?

Of course they maybe used together. (do not understand what the word program meant in the question context)

However, do not put them together in an array. In fact, any collection, including an array, should hold only 1 kind of objects. (the word kind means a base class and its derived subclasses, the same interface, or the same primitive types).

Putting more than 1 kind of objects in an array is making troubles for yourself, putting more than one class of objects in an array is an acceptable practice.

Another thing to look out for, if a primitive type is always go with a reference type, or most of time, being used, or being passed to another method, you may have a new class to be designed. You should put them together into a new class.

If you have a method need to return a primitive and a reference type, you may have another class design to do as well, or the method is doing too many things (one is the principle!). 1 pair of int and Person may not be a problem.

But when you have more than 10 pairs... Do you have 2 arrays, one to hold the integers, one to hold Person? Or you have 1 array to hold both (the odd element is always the int, and the even is the Person - big mistake). Now just image that, oh by the way, you will need a String (message text) go with the int and the Person....

What is a class c amplifier?

A class A amplifier is an amplifier where the bias current in all amplifier stages, including the power amplifier, always exceeds the maximum output current. This leads to a very high energy consumption (and cooling might become a problem), but eliminates crossover distortions. Typical commercial amplifiers are what is called class A/B amplifiers, meaning, they would use a pretty high bias current to eliminate crossover distortions, but the bias current would still be less than the maximum output current to reduce the energy waste and cooling problems associated with pure class A amplifiers.

What is difference between partial Class and class?

If using 1 class per file as the standard, then it would be easier to understand that a partial class contains only a portion of the class definition in one file, while the other (may have more than one file) have the rest of the code belong to that class. One good example is the field definitions (data members) in one file, while the another file supply with behaviors that may not have anything to do with the data fields.

A default constructor has how many parameters?

None, zero. Example: new MyClass(); //and public classMyClass{} no constructor defined inside of MyClass

Why c sharp called component oriented language?

The basic coding unit of C# is a class. Both data members and methods (functions, procedures) must be defined within a class. The class itself is the basic unit of a component. A class must define within a namespace.

The namespace concept in C# (a way of organizing custom design classes, interfaces, struts, and enums) actually fit perfectly with a Component.

C# is a language provides the features in Component and Objects, but the actual construction of a software may not be in any way in the shape of Component, nor object. It may be just a plain C codes wrapped in a class.

Which Is used for tracking and monitoring risks?

A Risk Management plan is used for these things.

What is the difference between Binding to chloinergic receptor and binding to protein?

By data binding I'm assuming that means storing data in a variable. I'm not familiar with that term, but my guess seems to make sense. Yes, one of the principles of the C++ language is the ability to store data in variables for program use. A simple example would be an integer: int x = 5; There now we have just binding the number "5" to the variable "x". "x" can be substituted for 5 anywhere within the scope of that variable now. A function is a way of writing common code such that you don't have to copy and paste code all over your program. For example, maybe you need to ask 5 people for their user names and passwords in a program. Instead of copying and pasting the code to do that 5 times you can put it in a function and just call the function 5 times instead.

Is it compulsory to write static with void main?

Every C# application is started on the startup class' static Main method. Yes, it must be static, but void is not the only returned type. The 4 signatures:

static void Main();

static void Main(string[] arguments);

static int Main();

static int Main(string[] arguments);

Ideally, there should be one and only one Main method in your application.

What is TOPSIS method in Multi-criteria Decision making?

it stand for Technique For Order preference BY Similarity to Ideal Situation

The principle behind TOPSIS is simple: The chosen alternative should be as close to the ideal solution as possible and as far from the negative-ideal solution as possible. The ideal solution is formed as a composite of the best performance values exhibited (in the decision matrix) by any alternative for each attribute. The negative-ideal solution is the composite of the worst performance values. Proximity to each of these performance poles is measured in the Euclidean sense (e.g., square root of the sum of the squared distances along each axis in the "attribute space"), with

optional weighting of each attribute.

Difference between int a and extern int a. why the first one is definition while the second is declaration please explain?

The declaration 'int a' both declares the variable of 'a' and allocates memory for it.

When you use 'extern' you are referring to a variable called 'a' that has its memory allocated in another module. The actual variable 'a' is not in the same compilation unit as the current one being compiled. Where the variable 'a' is located is resolved by the linker.

When using 'extern' you state your intent to use a variable called 'a', but it doesn't reserve any memory for it in the current module.

What is mean by exe in net?

Exe is an executable file that is runs on its own as an independent process. A .NET assembly may consist a number of executables in addition to other files like DLLs, resources etc.