Last active
June 15, 2016 21:36
-
-
Save TSKGunGun/25733a098ee0719b897dcfd246dd9505 to your computer and use it in GitHub Desktop.
VBAで.NETが使えるか検証するコード
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub NETTest() | |
Dim A As Object | |
Set A = CreateObject("System.Collections.ArrayList") | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Collections; | |
namespace NETTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
ArrayList Data = new ArrayList(); | |
Data.Add("Test"); | |
Data.Add("Test2"); | |
foreach( var value in Data) { | |
Console.WriteLine(value); | |
} | |
Console.ReadLine(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment