I have a DependencyObject in C# that is used in an array. Example shown below:
private KeywordTag[] tags = new KeywordTag[] { new KeywordTag { Tag = 'test', IncidenceCount = 2076 }, new KeywordTag { Tag = 'oi', IncidenceCount = 2052 }, new KeywordTag { Tag = 'hmm', IncidenceCount = 1887 }, new KeywordTag { Tag = 'grr', IncidenceCount = 1414 }, new KeywordTag { Tag = 'thanks', IncidenceCount = 1166 }}
How would I convert this code to VB.NET?
Thanks!
dummy’s response was almost right, VB.Net’s syntax has a ‘WITH’ after the constructors.