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

What is the purpose of using dot net?

Programmers produce software by combining their source code with .NET Framework and other libraries. The framework is intended to be used by most new applications created for the Windows platform. Microsoft also produces an integrated development environment largely for .NET software called Visual Studio.

How to draw seismic data using C Sharp?

1. Create a subclass of System.Windows.Forms.Control. (Right click on the project in Visual Studio, select new item, select "Custom Control").

2. View Code on the control.

3. Add data fields and accessors to the class to hold the seismic data.

4. Override the OnPaint method (a stub should be created for you automagically). In this method, get the PaintEventArgs.Graphics object. This has methods for drawing. Use the Size() property to get the size of the canvas. I also like to add if(!DesignMode... so that it will not expect initialized data in the Visual Studio designer.)

5. To refresh the display, call the Invalidate() method. This should be done whenever the data changes (e.g.: in the data property setter methods)

6. After compiling, your custom control should appear in the toolbox. You can now drag it on to forms.

How do you find largest of two object using operator overloading in c?

I will not use operator overloading in C# to do anything. Operator overloading may lead to one operator has more than 1 semantic meaning. For example, we know 1 + 2 yields 3, and "1" + 2 yields "12". I do not like this overloading of the operator + being used for addition in Number hierarchy, while as the concatenation in strings. That is, one operator (+) has 2 significant semantics.

And the question "find largest of two object" is too vague - what do you mean "largest"? and object? We know apple and orange are 2 objects, but how do you compare them, and find the largest one?????? (size, price or what???)

What is the BCD numbers from 0 to 20?

00h, 01h, 02h, 03h, 04h, 05h, 06h, 07h, 08h, 09h,

10h, 11h, 12h, 13h, 14h, 15h, 16h, 17h, 18h, 19h

20h

Create a class called Employee having two attributes Id and Name Create a class?

Here's a simple implementation of a class called Employee in Python:

class Employee:
    def __init__(self, id, name):
        self.id = id
        self.name = name

This class has two attributes: id and name, initialized via the constructor. You can create instances of this class by passing the respective values for these attributes.

Write down a brief summary of the main steps you took in the procedure. Be sure to include any adjustments you made to the procedure what they were and why you made them.?

In the procedure, I began by carefully preparing all necessary materials and ensuring proper safety protocols were in place. During the initial steps, I noticed that the reaction rate was slower than expected, so I adjusted the temperature to optimize the reaction conditions. Additionally, I modified the concentration of one of the reactants to enhance the overall yield. These adjustments were made based on preliminary observations to improve the efficiency and effectiveness of the experiment.

Which two characteristics could the designer use to describe a peer-to-peer network?

What%20are%20two%20characteristics%20of%20peer-to-peer%20networks

its in peer-to-peer Networking and Applications


Peer to peer networks are easy to set up because they do not require any special devices to connect the nodes in the network. As a result, they are less expensive networks to create. They also do not require a network administrator to manage them.

What are Pros and cons of avi format video file versus wmv flv mpeg format?

AVI files offer high quality and less compression, making them suitable for video editing, but they tend to have larger file sizes, which can be cumbersome for storage and streaming. WMV and FLV formats are more compressed, resulting in smaller file sizes that are better for online streaming and playback but may sacrifice some quality. MPEG provides a balance between quality and file size, making it a versatile option for various uses. Ultimately, the choice of format depends on the specific needs for quality, file size, and compatibility.

What are c-sharp tokens?

In C#, tokens are the smallest units of code that are meaningful to the compiler. They include keywords (like class and void), identifiers (such as variable and method names), literals (like numbers and strings), operators (like + and -), and punctuation (such as semicolons and braces). Tokens are essential for the syntax and structure of C# programs, as they help define the elements of the code and how they interact. The compiler uses these tokens to parse and understand the code.

What is the purpose of the keyword private?

The private keyword is used to ensure that no other classes will be able to access (view or modify) that class member.

Why net is called framework?

It is called a framework because it provide a environment for development or u can say works as a backbone of it, various languages can be used over it like C#, J#, vb etc. So don't treat it as a language.

What is the full form cdsl?

CDSL is Central Depository Securities Ltd. Trade done at Bombay Stock Exchange(BSE) is directly linked to CDSL. Source: http://www.tip4trade.com

How do you run multiple lines of code at once in c sharp?

Threading. However, unless you have multiple cores, or i3, i5, i7, you cannot execute multiple lines at once. (one core per process, a thread must be within a process, that's the concept. But you have no control over them). The codes will be the same. the actuall runtime varies because of the CPU.

What are the factors for a sucessfu college student?

1. Self Motivation

2. Real time knowlegde or practical knowledge

3. Communication

Difference between stand alone operating system and network system?

A network operating system (NOS) can be defined as an operating system if the computer which main duties is to support workstations, personal computers and in some instances, older terminals that are connected on the local area network. It provides sharing of printers, common file system and database sharing, application sharing, and the ability to manage a network name directory, security, and other housekeeping aspects of a network.

What Biblical scholars say that Joseph is a type of Christ and what are their references of typology?

Joseph brought his people out of bondage. The word of Christ will also bring the people out of bondage. Any person who through teaching the words of Christ, thereby bringing a change into their for the good is a type of Christ

Advantages and disadvantages of semaphore in os?

Advantage of semaphore is simplicity. Disadvantage of semaphore is more prone to programmer error. It does not guarantee that if programmer misplace the P and V then it will also work correctly. It may occur deadlock or violation of mutual exclusion due to programmer error.

How do you mute sound with c sharp?

http://www.geekpedia.com/tutorial176_Get-and-set-the-wave-sound-volume.html

this site explains it well

How do you debug a web service?

Debugging XML Web Service created with ASP .Net is similar to debugging an ASP .Net web Application.

What did the delegates do to solve the problem of how many representatives each state can have?

This issue all goes back to the Constitutional Convention, when there was an issue of big states vs. small states. After a heated debate, the Great Compromise was proposed by Roger Sherman, which created a bicameral legislature. Each states would have equal representation in the Senate (satisfied the small states) and the size of the population of each state would determine the state's representation in the House of Representatives (satisfied the big states). There is also a similar case in the state of Alabama in which the state legislature were apportioned and assigned to districts, based on populations. This supreme court case is known as Reynolds v. Sims.

What is ComboBox in Visual Studio?

ComboCox is a drop down list which can editable ot not. Usually people use it to give a user predefined choices.