The difference between the title C # and VB.net Qianqian (original)
Keyword c#,vb.net,.net, difference
All said in. NET, the. NET Framework and the CLR are the basis for application operations. So vb.net and C # are exactly the same, just
Queue:
Enqueue ()
Dequeue ()
Peek ()//only get-I, not delete it
Stack:
Count ()
Clear ()
Peek ()
Pop ()
Push ()
CopyTo (array, offset)//copy to array
Dictionary/hashtable:
Keys//colleation of the keys,
Values//colleation of value
Count ()
Clear
xml| Conversion
Using System;Using System.Drawing;Using System.Collections;Using System.ComponentModel;Using System.Windows.Forms;Using System.IO;Using System.Xml;Namespace MyWindows{/**////This example shows how to encode an Office file as an XML
The following code changes all URIs in the given HTML, including href and IMG, to absolute pathsprivate static string Converttoabsoluteurls (string html, Uri relativelocation) {IHTMLDocument2 doc = new Htmldocumentclass ();Doc.write (New Object []
Online
Implementing online upgrades with C #
This is a WebService
Private Appupdate.updateserv Updatesvr;
private void Button1_Click (object sender, System.EventArgs e){if (Linkwebservices () ==true){this.label1.text= "Connect server .... Pass ";if (
Web|web Services | Create Microsoft in its. NET strategy, the Web services of its main push are trumpeted. Now, Web services are booming and new technologies are emerging. The development of Web services is building a better tomorrow in the Internet
Sort | algorithm
This article describes the four sort algorithms for C #: Bubble sort, select sort, insert sort, and Hill sort
Bubble sort
Using System;
Namespace Bubblesorter
{public class Bubblesorter
{public void Sort (int [] list)
{int i,j,temp;
Print
Printing a document in a Windows application is a very important feature that has been a very complex work in the past, and the Microsoft. NET FrameworkPrinting features are provided in the form of components, providing a great convenience to
Encryption | decryption | algorithm
/************************* string Encryption Algorithm ***********************/public string encryptstring (String str){char[] base64code=new char[]{' A ', ' B ', ' C ', ' d ', ' e ', ' f ', ' g ', ' h ', ' I ', '
Programming
When the USB disk is inserted, the program automatically copies the contents of the U disk to the local hard drive
Using System;Using System.Collections.Generic;Using System.ComponentModel;Using System.Data;Using System.Drawing;Using
excel|word| Control | data//SAVE data in a table control to Excel or Word
public void Save (System.Web.UI.Control source, DocumentType type)
{
Response.Clear ();
Response.buffer= true;
Set HTTP header information, encoding format
if (type = =
Notes
Because in the. NET, there are two types, the value type and the reference type (reference type), so many of the confusion about the passing of parameters in C # is born.
The first thing to figure out is that the value type is allocated above
Design design Pattern C # Description--Abstract factory pattern
To read this article, you should first read the Simple factory model and the factory method model.
Abstract factory pattern is the object creation pattern, it is the further
Visual Introduction:
Microsoft's new. NET platform has brought many new programming mechanisms such as GDI + and globalization to developers, and also invented a new Java-like programming language-c#. For these new knowledge, we should understand,
Tutorial Sunwen Tutorial----C # Advanced
Six
Mrfat@china.com
Hello, I am Sunwen of Wuhan Hua Division. It is May 2 night 19:27, because there is nothing to do, all again write up. Yesterday took more than 10 photo, will be able to go to pick up, I
Tutorial Sunwen Tutorial----C # Advanced
(11)
Mrfat@china.com
OK, I came back, I wrote so much in front of, and compared with Java enough, now I use the example of my own experiment, to see the C # This is called java# of the next generation of
access| Access | data | Database My motivation for writing this program is that I have no access to any information or reference material when I want to visit the MSAccess database with C sharp. All the material available on the web is SQL, so we'll
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service