answersLogoWhite

0

📱

.NET Programming

.NET Programming involves the use of the .NET Framework, a software framework for Microsoft Windows operating systems. The framework supports several programming languages. The .NET library is available to all the programming languages that .NET supports.

607 Questions

What kinds of problems do computers cause?

There are a number of problems computers can cause. Here are some of the areas of problems.

1. Health problems - If you're body is not well-supported while you use the computer, you could face problems with your wrists, back, shoulders, neck, etc. Eyestrain is a common computer problem too. If you have epilepsy, certain sounds and flashing images could possibly trigger a seizure.


2. Waste and environmental problems - Eventually, you will likely discard an old computer. It could go to a landfill and take up space if you don't recycle it. It takes petroleum products to make plastic, and quite a bit of plastic is used in computers. So if a petroleum tanker turns over and dumps its cargo in the ocean, that could harm wildlife and fish.


3. Mistakes, errors, and dangerous glitches - When the Pentium processors first came out, they had a problem with their floating point package, where certain mathematical computations resulted in grossly erroneous results. That could cause problems if you were trying to compute certain business or scientific things. However, there were workarounds to the problem, and that is not the most serious type of problem of this type.


Years ago, there were computers to give therapeutic doses of radiation to cancer patients. However, some patients were getting "cooked" by the radiation or facing lifelong problems after treatment. There were several reasons for this, and a number of safeguards and protections that were missed. The routines to take the input from the technician did not trap invalid responses. Some operators entered the wrong thing and then used the wrong key sequence to correct their error. However, they only blanked out what they typed, not really deleted it, and the computer took that as something other than the 2 valid choices given. The code of the program also contained "race conditions," meaning that there is a possibility that the data needed for a computation sometimes doesn't get where it needs to be in time. Then on the radiation and mechanical end of things, there were missing safeguards. It should have been impossible for both the high dose "antenna" and the low dose "antenna" to both be in operation at the same time -- but sometimes that happened, giving much more radiation than the intended high dose. There should have been interlock switches, physical barriers, or other protections in place.


Traffic lights are often controlled by computers. Imagine if the signals were contradictory, such as green lights in all directions. That could cause serious wrecks for sure.


4. Laziness - While humans are to blame for this, computers do make it easier, where you forget how to do certain things without a computer. In a typical store, if the power goes out and they only have emergency lights, most cashiers won't be able to ring up transactions, even if store policy says they could do it by hand.


5. Preoccupation, personal injury and carelessness - From time to time, there are stories of people texting or using other technology and jumping in front of cars, running into trees, etc.

What is WPF?

WPF stands for Windows Presentation Foundation and it is essentially a new API for creating a graphical user interfaces for the Windows platform. It provides a consistent programming model for building applications and provides a clear separation between the user interface and the business logic. WPF employs the use of 2D and 3D drawing, fixed and adaptive documents, advanced typography, vector graphics,raster graphics, animation, data binding, audio and video thanks to the presence of DirectX in one of the lower levels of its architecture. WPF comes pre-installed on Windows Vista and i based on .NET 3.0. Although like its predecessor, WinForms, it too incorporates the use of buttons, combo-boxes, list-boxes etc, instead of using a designer generated code file or a resource file as the source of a UI definition, it makes use of XAML (Extensible Application Markup Language) which is a unique way of including code in a mark up.

PS: I apologize if this answer seems inadequate for i answered only because of the statement : Even if you can't offer a complete answer, help us get things started

If you are interested in WPF, also check out the Silverlight which is a cross-browser, cross platform plugin, that provides rich web based content to your browser. Silverlight is basically the web implementation of WPF.

Can a derived class call the static constructor of a base class in .Net?

No. not directly.

The static constructor is called by .net framework, not by your code.

I always treat static constructor is the class initializer (not the instance one). The initialization routine is only called when the class definition being loaded.

When the derived class is loaded, since this class derived from the base, it makes to go up the chain (of the hierarchy) to call those static constuctors.

So, when a derived class is loaded, the static constructors of the hierarchy is called up. (any one of them had been loaded, the calling sequence stops).

You cannot call those static constructor directly, nor you can skip "not to execute" them.

Fibonacci series program in vb.net?

This is not a homework board. I will give you a rough algorithm in C#

int firstnum= 1;
int finalnum = 1;

int nextNumber;

System.Console.Write(finalnum + " ");

while (finalnum < 50)
{
System.Console.Write(finalnum + " ");

nextNumber = finalnum + firstnum;

firstnum= finalnum ;
finalnum = nextNumber;
}

Why do you need to create an object reference variable to call methods cant you directly use the objects that is created?

Creating an object and invoking a method of that object are 2 distinct steps. From good programming practice, it is better off to have 2 separate statements at least to do this.

For example:

(new object()).ToString(); // creates an instance and invoke ToString()

vs.

object objRefence = new object();

objRefence.ToString();

The variable objReference is needed to invoke the method ToString(), because the object refereced of the one being created from the new operator needed to be cached somewhere.

There is no major differences between the 2 above. However, if there is another method to be invoked, the second way (use variable reference) is the only way, the first one cannot. (You can replace ToString() with GetHashCode(), and prints it on the console twice, the first one may produce 2 different values, while the second one will be the same value. Think of GetHashCode() returns the object id in a way)

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

What is the fullform of dot net?

Full Form OF Dot NET- - DOT Means Data object technology and net means Network enable technology

anju jaiswal

What are DHTML and ASP pages?

DHTML means the web page or web application uses JavaScript and HTML DOM (Document Object Model) and possibly CSS.

A programmer can create dynamic web pages using these technologies. For example when I move the mouse over a image link, I can change the image.

ASP and ASP.NET pages are converted to HTML by a server.

Can you throw exception from catch block in net?

Yes. Use C# code as an example:

try {

int k = 100 / 0; // this will throw an exception

} catch (Exception e) {

throw new SystemException("Throwing a new exception because of "+ e.Message);

}

How do you uninstall Net Nanny on a Mac?

i am selling my computer how do i uninstall net nanny? on mac

What is humanistic framework?

Humanistic frameworks do not deny the existence of the unconscious,

they tend to view the individual as motivated by the need to grow and develop

and as potentially creative. Using a holistic approach, humanistic theories are

concerned with the integration of all aspects of the person, including

dreams, sensations, emotions, cognitions and behaviour.

Use of Interlocked class in vb. net?

The Interlocked methods protect against errors that can occur when the scheduler switches contexts while a thread is updating a variable that can be accessed by other threads. The members of this class do not throw exceptions.

[Note: The System.Threading.Interlocked.Increment(System.Int32@) method and its counterpart, System.Threading.Interlocked.Decrement(System.Int32@), increment or decrement a variable and store the resulting value, as an atomic operation.

The System.Threading.Interlocked.Exchange(System.Int32@,System.Int32) method atomically exchanges the values of the specified variables. The System.Threading.Interlocked.CompareExchange(System.Int32@,System.Int32,System.Int32) method provides an atomic operation that compares two values and stores a third value in one of the variables, based on the outcome of the comparison.

Do you need dot net if you do not program?

Possibly. Certain programs need the .NET runtimes in order to work; even if you're not programming yourself, if you want to run these programs you will need the .NET runtime support package.

What is pieces framework?

PIECES Framework is a checklist use for existing information system. Each letter stands for P -Performance, I- Information, E- Economics, C- Control, E- Effieciency and S-Service.

Which is super class in .net?

System.object is for .Net

system.Web.UI is for asp.net

What does effectiveness mean in input design?

Effectiveness in input design refers to the degree to which a system accurately captures and processes user inputs to achieve desired outcomes. It involves ensuring that the input methods are intuitive, minimize errors, and meet user needs efficiently. An effective input design enhances user experience and improves overall system performance by facilitating seamless interaction between the user and the system. Ultimately, it aims to optimize the input process while aligning with the overall objectives of the application or system.