Are VB.NET code snippets available for C #?

Question

I was wondering if anyone knows where I can find C # versions for VB.NET code snippets embedded in Visual Studio (2008)?

What are code snippets?

VB.NET has an extensive collection of fragments that cover most of the basic tasks that may be required, such as File I / O, LINQ, DB, etc. C # has a much smaller and narrower library, mainly for NetFX 3.0, Refactoring, and something called the "other" among one or two other elements.

+3
source share
3 answers

Two resources that I used earlier to get snippets of C # code,

Visual Studio 2005, 400 #.

- VB, , #, .

, .

+1

. = > ... :

Ctrl + K, Ctrl + B

, prop Tab Tab :

public int MyProperty { get; set; }

. .

+3

Doh! :

http://msdn.microsoft.com/en-gb/vstudio/aa718338.aspx

Visual #

Task-based code snippets This is a set of code snippets based on tasks in C # that can help you with programming tasks from working with databases and a Windows application to writing applications for mobile devices and network programs. Note. Major versions of these fragments are included in the box.

It seems that this is exactly what I was looking for.

+1
source

Source: https://habr.com/ru/post/1724777/


All Articles