N
N
Nikita072021-08-17 13:32:18
Java
Nikita07, 2021-08-17 13:32:18

How to write this code in C#?

Hello everyone, help me rewrite this class from Java to C #, otherwise I got very confused in it

public abstract  static class AbstractUserAgentAnalyzerBuilder<UAA extends AbstractUserAgentAnalyzer, B extends AbstractUserAgentAnalyzerBuilder<UAA, B>>
            extends AbstractUserAgentAnalyzerDirectBuilder<UAA, B>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Voland69, 2021-08-17
@Nikita07

The signature will look something like this

public abstract static class AbstractUserAgentAnalyzerBuilder<UAA, B>
            : AbstractUserAgentAnalyzerDirectBuilder<UAA, B> 
            where 
            UAA : AbstractUserAgentAnalyzer, 
            B : AbstractUserAgentAnalyzerBuilder<UAA, B>

What about inside a class?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question