Home

Resolving ambiguous types with "using" doesn't work

edited August 2014
I have a class called Group in one of my DLLs. When I use it, I get
'Group' is an ambiguous reference between 'System.Text.RegularExpressions.Group' and MyApp.Group

When I try to add

using Group = MyApp.Group;

at the top of the file, Linqpad thinks I'm trying to add a namespace and gives a

Syntax error, '(' expected
) expected


error. What should I do to use MyApp.Group?

Comments

Sign In or Register to comment.