code: def add_method_def(
      self, name, args, is_vector_output, modifier="private"
  ):
      return_type = self._get_var_declare_type(is_vector_output)
      func_args = ",".join(
          [
              f"{self._get_var_declare_type(is_vector)} {n}"
              for is_vector, n in args
          ]
      )
      method_def = (
          f"{modifier} static {return_type} {name}({func_args}) {{"
      )
      self.add_code_line(method_def)
      self.increase_indent()
  
file_path: m2cgen/m2cgen/interpreters/c_sharp/code_generator.py
imports: from contextlib import contextmanager
  from m2cgen.interpreters.code_generator import CLikeCodeGenerator
label_desc: Use image node_id 2 for calling the CSharpCodeGenerator obj's underlying member method code with example usage: obj.add_method_def(name, args, is_vector_output, modifier) without return types