Skip to content

Names -> Keywords batch 7 #6931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet4>
// <Snippet4>
using System;
using System.Reflection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet6>
// <Snippet6>
using System;
using System.Reflection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet8>
// <Snippet8>
using System;
using System.Reflection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet10>
// <Snippet10>
using System;
using System.IO;
using System.Runtime.Versioning;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet3>
// <Snippet3>
using System;
using System.Configuration;
using System.Globalization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet3>
// <Snippet3>
using System;

public class TestAnonymousMethod
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet1>
// <Snippet1>
using System;

delegate void StringCopy(string[] stringArray1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet4>
// <Snippet4>
using System;

public class TestLambdaExpression
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// <Snippet5>
using System;
public class Example
{
public static void Main()
{
// Initialize array of characters from a to z.
char[] chars = new char[26];
for (int ctr = 0; ctr < 26; ctr++)
chars[ctr] = (char) (ctr + 0x0061);
object obj = Activator.CreateInstance(typeof(string),
new object[] { chars, 13, 10 } );
Console.WriteLine(obj);
}
}
// The example displays the following output:
// nopqrstuvw
// </Snippet5>
// <Snippet5>
using System;

public class Example
{
public static void Main()
{
// Initialize array of characters from a to z.
char[] chars = new char[26];
for (int ctr = 0; ctr < 26; ctr++)
chars[ctr] = (char) (ctr + 0x0061);

object obj = Activator.CreateInstance(typeof(string),
new object[] { chars, 13, 10 } );
Console.WriteLine(obj);
}
}
// The example displays the following output:
// nopqrstuvw
// </Snippet5>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <Snippet4>
// <Snippet4>
using System;

public class Example
Expand All @@ -21,4 +21,4 @@ public static void Main()
// String: abcdef
// String: bcde
// String: bbbbbbbbbbbbbbbbbbbb
// </Snippet4>
// </Snippet4>