Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC#extension methodsSingle-choice MCQ

Two using directives bring in two static classes, each with a `public static string Tag(this Widget w)` extension. Code then calls `widget.Tag()`. What happens?

// using Lib.A; -> A.Ext.Tag(this Widget) // using Lib.B; -> B.Ext.Tag(this Widget) var s = widget.Tag();